@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #163c3b;
  --ink-dark: #0d2c2c;
  --ink-soft: #486765;
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --sage: #dfe9df;
  --sage-light: #edf2eb;
  --mint: #cfe5dc;
  --amber: #dc9658;
  --amber-dark: #bd7136;
  --line: rgba(22, 60, 59, 0.14);
  --shadow: 0 22px 55px rgba(23, 58, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
}

h1 {
  margin-bottom: 20px;
  font-size: 50px;
  line-height: 55px;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 20px;
  font-size: 52px;
  line-height: 58px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.015em;
}

::selection {
  background: var(--amber);
  color: var(--ink-dark);
}

.container {
  width: calc(100% - 48px);
  max-width: 1150px;
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--sage {
  background: var(--sage-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 750px;
  margin-bottom: 0;
}

.section-head > p {
  max-width: 440px;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 27px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: #3d6562;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(233, 151, 77, 0.14);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  overflow: hidden;
  padding: 14px 22px 14px 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.button::before {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  content: "";
  opacity: 0;
  transform: translateX(-100%) skewX(-16deg);
  transition: transform 0.45s ease, opacity 0.35s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 54, 52, 0.16);
}

.button:hover::before {
  opacity: 1;
  transform: translateX(105%) skewX(-16deg);
}

.button:hover .arrow,
.text-link:hover .arrow,
.card-link:hover .arrow,
nav a:hover .arrow,
.footer-bottom a:hover .arrow {
  transform: translate(3px, -3px);
}

.button--accent {
  background: var(--amber);
  color: var(--ink-dark);
}

.button--accent:hover {
  background: #f2a75e;
}

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

.button--dark:hover {
  background: var(--ink-dark);
}

.button--outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.button--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button--small {
  min-height: 42px;
  gap: 14px;
  padding: 9px 14px 9px 16px;
  font-size: 14px;
}

.button--wide {
  width: 100%;
}

.arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.06em;
  line-height: 1;
  transition: transform 0.23s ease;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(22, 60, 59, 0.08);
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  flex: 0 0 auto;
  color: var(--ink-dark);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.logo span {
  color: var(--amber-dark);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 29px);
}

.desktop-nav a,
.footer nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.desktop-nav a::after,
.footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.desktop-nav a:hover::after,
.footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav .arrow,
.footer nav .arrow {
  color: currentColor;
  font-size: 12px;
  opacity: 0.42;
}

.header-actions,
.messengers {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 14px;
}

.messengers {
  gap: 7px;
}

.messenger {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: white;
  font-weight: 800;
  filter: saturate(0.72);
  opacity: 0.82;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.messenger:hover {
  filter: saturate(0.95);
  opacity: 1;
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 8px 18px rgba(21, 69, 94, 0.2);
}

.messenger--telegram {
  background: #229ed9;
}

.messenger--telegram span {
  margin-left: -2px;
  font-size: 13px;
  transform: rotate(-34deg);
}

.messenger--max {
  background: linear-gradient(135deg, #16a0ed, #6a57e5);
}

.messenger--max span {
  font-size: 7px;
  letter-spacing: -0.04em;
}

.header-phone {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 900;
  line-height: 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

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

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

.mobile-menu {
  display: none;
}

.hero {
  overflow: hidden;
  padding: 102px 0 34px;
  background:
    radial-gradient(circle at 8% 30%, rgba(207, 229, 220, 0.7), transparent 30%),
    linear-gradient(120deg, #f3f3ea 0%, #f7f4ec 58%, #e4ece5 100%);
}

.hero-grid {
  display: grid;
  min-height: min(665px, calc(100svh - 102px));
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 22px 0 10px;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 40px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 27px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 60, 59, 0.33);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover,
.card-link:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

.hero-facts {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-facts > div {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: center;
  padding: 15px 14px 0 0;
}

.hero-facts > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  white-space: nowrap;
  color: var(--ink-dark);
  font-size: 17px;
  font-weight: 600;
}

.hero-facts span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.15;
}

.hero-visual {
  position: relative;
  min-height: 550px;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: 30px;
  right: -70px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(22, 60, 59, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-visual > img {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  border-radius: 210px 210px 24px 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 62% center;
}

.hero-rating,
.hero-note {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 253, 248, 0.93);
  box-shadow: 0 16px 42px rgba(15, 52, 50, 0.14);
  backdrop-filter: blur(14px);
}

.hero-rating {
  right: -20px;
  bottom: 27px;
  width: 255px;
  padding: 18px 20px;
  border-radius: 14px;
}

.hero-rating__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hero-rating__top > span:first-child {
  font-size: 27px;
  font-weight: 800;
}

.stars,
.review-card__stars {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-rating p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.1;
}

.hero-note {
  bottom: 96px;
  left: -52px;
  display: flex;
  max-width: 236px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 13px;
}

.hero-note__icon {
  display: inline-flex;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  font-size: 19px;
}

.hero-note > span:last-child {
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-note strong {
  color: var(--ink);
  font-size: 14px;
}

.section--services {
  background: var(--paper);
}

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

.service-card {
  position: relative;
  display: grid;
  min-height: 344px;
  grid-template-rows: 64px 150px 1fr;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.service-card:hover {
  border-color: rgba(22, 60, 59, 0.2);
  background: var(--sage-light);
  color: var(--ink);
  box-shadow: 0 20px 38px rgba(18, 61, 58, 0.14);
  transform: translateY(-8px);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__number {
  color: rgba(22, 60, 59, 0.62);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.service-card__illustration {
  display: flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
}

.service-card__illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.28s ease;
}

.service-card:hover .service-card__illustration img {
  transform: scale(1.04);
}

.service-card__copy {
  display: grid;
  min-height: 0;
  grid-template-rows: 84px 66px;
  padding: 0;
}

.service-card h3 {
  max-width: none;
  margin: 0;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -0.01em;
  text-align: left;
}

.service-card__direction {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 23px;
  text-align: left;
  transition: color 0.28s ease;
}

.service-card:hover p {
  color: var(--ink-soft);
}

.service-card__bottom {
  display: flex;
  min-height: 63px;
  align-items: center;
  align-self: end;
  justify-content: space-between;
  margin-top: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.service-card__bottom > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 18px;
}

.service-card__bottom strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.005em;
}

.service-card__bottom > span:first-child:not(strong) {
  color: inherit;
}

.circle-arrow {
  display: inline-flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--ink);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover .circle-arrow {
  background: var(--amber);
  transform: rotate(10deg);
}

.process {
  overflow: hidden;
  background: var(--ink-dark);
  color: #fff;
}

.process::before {
  position: absolute;
  width: 1px;
  height: 1px;
  content: "";
}

.section-head--light > p {
  color: rgba(255, 255, 255, 0.62);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.process-card {
  min-height: 275px;
  padding: 30px 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.process-card:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 3px 0 rgba(220, 150, 88, 0.72);
}

.process-card > span {
  display: inline-flex;
  margin-bottom: 68px;
  color: var(--amber);
  font-size: 15px;
  font-weight: 750;
}

.process-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 32px;
}

.process-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 23px;
}

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

.doctor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.doctor-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-9px);
}

.doctor-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.06;
  background: var(--sage-light);
}

.doctor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 19%;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-card__image img {
  transform: scale(1.025);
}

.doctor-card__image > span {
  position: absolute;
  bottom: 13px;
  left: 13px;
  padding: 7px 11px;
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.9);
  font-size: 14px;
  font-weight: 720;
  line-height: 20px;
  backdrop-filter: blur(10px);
}

.doctor-card__body {
  padding: 24px;
}

.doctor-card__body > p {
  margin-bottom: 7px;
  color: var(--amber-dark);
  font-size: 15px;
  font-weight: 600;
}

.doctor-card__body h3 {
  margin-bottom: 16px;
  font-size: 26px;
}

.doctor-card__focus {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 23px;
}

.card-link {
  font-size: 15px;
}

.doctor-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-link--accent {
  border-bottom-color: rgba(189, 113, 54, 0.42);
  color: var(--amber-dark);
}

.prices-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 85px;
  align-items: start;
}

.prices-copy {
  position: sticky;
  top: 118px;
}

.prices-copy > p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 27px;
}

.consultation-note {
  margin-bottom: 16px;
  padding: 17px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.54);
}

.consultation-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.consultation-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.12;
}

.price-promise {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(22, 60, 59, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.53);
}

.price-promise > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  font-weight: 800;
}

.price-promise strong {
  display: block;
  margin-bottom: 2px;
}

.price-promise p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.price-list {
  border-top: 1px solid rgba(22, 60, 59, 0.22);
}

.price-row {
  width: 100%;
  border-bottom: 1px solid rgba(22, 60, 59, 0.16);
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.price-row:hover {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 4px 0 0 rgba(220, 150, 88, 0.68);
}

.price-row summary {
  display: grid;
  grid-template-columns: 1fr auto 36px;
  gap: 20px;
  align-items: center;
  padding: 22px 10px;
  cursor: pointer;
  list-style: none;
}

.price-row summary::-webkit-details-marker {
  display: none;
}

.price-row summary > span:first-child {
  font-size: 18px;
  font-weight: 500;
}

.price-row strong {
  white-space: nowrap;
  color: var(--amber-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.005em;
}

.price-row__toggle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 60, 59, 0.08);
  font-size: 22px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.price-row[open] .price-row__toggle {
  background: var(--amber);
  transform: rotate(45deg);
}

.price-row > p {
  max-width: 650px;
  margin: -3px 56px 20px 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.16;
}

.price-disclaimer {
  margin: 18px 0 0;
  color: #6d817f;
  font-size: 12px;
}

.trust-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.trust-image {
  position: relative;
}

.trust-image img {
  width: 100%;
  min-height: 500px;
  border-radius: 160px 14px 14px;
  object-fit: cover;
}

.trust-image__label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 9px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 30px rgba(14, 44, 43, 0.13);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4c9c7d;
  box-shadow: 0 0 0 5px rgba(76, 156, 125, 0.15);
}

.trust-copy > p {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 27px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.trust-points > div {
  padding: 18px 10px;
  border-top: 1px solid var(--line);
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points strong {
  margin-bottom: 5px;
  color: var(--amber-dark);
  font-size: 20px;
}

.trust-points span {
  color: var(--ink-soft);
  font-size: 12px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 62px;
}

.credential {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 26px;
  border-radius: 12px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.credential:hover {
  box-shadow: 0 20px 40px rgba(22, 60, 59, 0.15);
  transform: translateY(-8px);
}

.credential::after {
  position: absolute;
  right: -31px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border: 25px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
}

.credential--blue {
  background: #b8d8e5;
}

.credential--mint {
  background: #c8e4d4;
}

.credential--sand {
  background: #ead3aa;
}

.credential__seal {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(22, 60, 59, 0.5);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.credential small {
  display: block;
  margin-bottom: 34px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.credential h3 {
  max-width: 230px;
  margin-bottom: 11px;
  font-size: 26px;
  line-height: 32px;
}

.credential p {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 680;
}

.credential > span {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(22, 60, 59, 0.22);
  border-radius: 5px;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section--reviews {
  background: #f2eee5;
}

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

.review-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(22, 60, 59, 0.11);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.72);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.review-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.review-card__stars {
  margin-bottom: 27px;
}

.review-card blockquote {
  flex: 1;
  margin: 0 0 30px;
  color: #294b49;
  font-size: 16px;
  line-height: 23px;
}

.review-card__author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.review-card__author > span {
  display: inline-flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 800;
}

.review-card__author strong,
.review-card__author small {
  display: block;
}

.review-card__author small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 116px;
}

.faq-copy > p {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  font-size: 19px;
  font-weight: 660;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: inline-flex;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--amber-dark);
  font-size: 23px;
  font-weight: 400;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-list details[open] summary span {
  background: var(--amber);
  color: var(--ink-dark);
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 690px;
  margin: -5px 54px 25px 0;
  color: var(--ink-soft);
}

.team-cta {
  padding-bottom: 28px;
  background: var(--paper);
}

.team-cta__inner {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink-dark) url("../img/53473605_1920.webp") center / cover no-repeat;
}

.team-cta__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 39, 38, 0.98) 0%, rgba(10, 39, 38, 0.88) 35%, rgba(10, 39, 38, 0.16) 74%),
    linear-gradient(0deg, rgba(10, 39, 38, 0.35), transparent 50%);
}

.team-cta__content {
  position: relative;
  z-index: 2;
  width: 46%;
  padding: 63px 0 58px 60px;
  color: #fff;
}

.team-cta__content h2 {
  font-size: clamp(36px, 4.2vw, 54px);
}

.team-cta__content > p {
  max-width: 470px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 18px;
  line-height: 27px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(22, 60, 59, 0.18);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:not([type="checkbox"]):focus,
.lead-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(233, 151, 77, 0.14);
}

.lead-form textarea {
  min-height: 80px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  cursor: pointer;
}

.consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}

.consent span,
.lead-form .consent > span:first-child {
  display: inline;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form--compact {
  max-width: 455px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lead-form--compact label > span:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.lead-form--compact .consent,
.lead-form--compact .button {
  grid-column: 1 / -1;
}

.lead-form--compact .consent span,
.lead-form--compact .consent > span:first-child {
  color: rgba(255, 255, 255, 0.63);
}

.form-success {
  padding: 26px;
  border-radius: 11px;
  background: var(--sage-light);
  text-align: center;
}

.form-success__mark {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 800;
}

.form-success p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.form-success--compact {
  max-width: 455px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
}

.footer {
  background: var(--ink-dark);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 65px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.logo--footer {
  display: inline-flex;
  color: #fff;
}

.footer-top > div:first-child p {
  max-width: 250px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 35px;
  align-content: start;
}

.footer nav a {
  width: max-content;
}

.footer-contacts {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-contacts > a:first-child {
  margin-bottom: 7px;
  font-size: 22px;
  font-weight: 730;
}

.footer-contacts > a:nth-child(2) {
  margin-bottom: 14px;
  color: var(--amber);
}

.footer-contacts > span {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.43);
  font-size: 10px;
}

.footer-bottom a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-rail {
  position: fixed;
  z-index: 80;
  top: 50%;
  left: 0;
  display: flex;
  width: 46px;
  height: 198px;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  border: 1px solid rgba(9, 17, 30, 0.15);
  border-left: 0 !important;
  border-radius: 0 9px 9px 0 !important;
  appearance: none;
  background-color: #f3f0e7 !important;
  background-image: none !important;
  box-shadow: 12px 17px 30px rgba(9, 17, 30, 0.18);
  color: #09111e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    width 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.portfolio-rail:hover {
  width: 53px;
  background-color: #c7f451 !important;
  box-shadow: 16px 19px 34px rgba(9, 17, 30, 0.22);
}

.portfolio-rail::before,
.portfolio-rail::after {
  display: none !important;
  content: none !important;
}

.portfolio-rail__label {
  display: block;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.portfolio-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.portfolio-modal[hidden] {
  display: none;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(12, 17, 27, 0.84);
  cursor: pointer;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.22s ease;
}

.portfolio-modal__panel {
  position: relative;
  z-index: 2;
  width: min(470px, 100%);
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  padding: 53px 48px 42px;
  border: 1px solid rgba(9, 17, 30, 0.11);
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 6%, rgba(199, 244, 81, 0.13), transparent 37%),
    #fbfcf0;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
  animation: portfolioPanelIn 0.28s ease;
}

.portfolio-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(9, 17, 30, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  color: #09111e;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.portfolio-modal__close:hover {
  background: #c7f451;
  transform: rotate(6deg);
}

.portfolio-modal__icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 31px;
  border-radius: 50%;
  background: #c7f451;
  color: #09111e;
  font-size: 25px;
  line-height: 1;
}

.portfolio-modal__eyebrow {
  margin-bottom: 13px;
  color: #2f5ff5;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-modal__panel h2 {
  max-width: 370px;
  margin-bottom: 19px;
  color: #09111e;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 43px;
  font-weight: 900;
  line-height: 43px;
  letter-spacing: -0.04em;
}

.portfolio-modal__text {
  max-width: 350px;
  margin-bottom: 29px;
  color: #768297;
  font-size: 16px;
  line-height: 22px;
}

.portfolio-modal__link {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid rgba(9, 17, 30, 0.1);
  border-radius: 6px;
  background-color: #f3f0e7 !important;
  background-image: none !important;
  box-shadow: 0 14px 26px rgba(9, 17, 30, 0.08);
  color: #09111e;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.portfolio-modal__link:hover {
  background-color: #c7f451 !important;
  box-shadow: 0 18px 32px rgba(9, 17, 30, 0.14);
  transform: translateY(-6px);
}

@keyframes portfolioPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.floating-actions {
  position: fixed;
  z-index: 45;
  right: 25px;
  bottom: 50px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}

.to-top {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 60, 59, 0.17);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 9px 22px rgba(17, 52, 51, 0.14);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--amber);
  transform: translateY(-4px);
}

.consult-float {
  position: relative;
  display: flex;
  min-height: 54px;
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 8px 20px rgba(128, 78, 41, 0.16);
  color: var(--ink-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  animation: consultPulse 1.4s ease-in-out infinite alternate;
}

.consult-float:hover {
  background: #e4a069;
  box-shadow: 0 10px 24px rgba(128, 78, 41, 0.2);
  transform: translateY(-4px);
}

.consult-float__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35a36a;
  box-shadow: 0 0 0 5px rgba(53, 163, 106, 0.14);
}

@keyframes consultPulse {
  from {
    box-shadow: 0 7px 17px rgba(128, 78, 41, 0.13), 0 0 0 0 rgba(220, 150, 88, 0.18);
    transform: scale(0.985);
  }
  to {
    box-shadow: 0 9px 21px rgba(128, 78, 41, 0.17), 0 0 0 8px rgba(220, 150, 88, 0);
    transform: scale(1.015);
  }
}

.doctor-drawer {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: flex;
  justify-content: flex-end;
}

.doctor-drawer[hidden],
.modal[hidden] {
  display: none;
}

.doctor-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 29, 28, 0.67);
  cursor: pointer;
  backdrop-filter: blur(7px);
  animation: fadeIn 0.24s ease;
}

.doctor-drawer__panel {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  box-shadow: -28px 0 70px rgba(6, 31, 29, 0.24);
  animation: drawerIn 0.34s ease;
}

.doctor-drawer__close {
  position: fixed;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.88);
  font-size: 28px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.doctor-drawer__header {
  position: relative;
  display: grid;
  min-height: 315px;
  overflow: hidden;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: end;
  background: var(--sage);
}

.doctor-drawer__header img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-drawer__header > div {
  padding: 36px 34px;
}

.doctor-drawer__header p {
  margin-bottom: 8px;
  color: var(--amber-dark);
  font-size: 15px;
  font-weight: 600;
}

.doctor-drawer__header h2 {
  margin-bottom: 13px;
  font-size: 36px;
}

.doctor-drawer__header span {
  color: var(--ink-soft);
  font-size: 15px;
}

.doctor-drawer__content {
  display: grid;
  gap: 0;
  padding: 36px 40px 46px;
}

.doctor-drawer__content section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.doctor-drawer__content h3 {
  margin-bottom: 9px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.doctor-drawer__content p,
.doctor-drawer__content li {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.2;
}

.doctor-drawer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.doctor-drawer__content ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.doctor-drawer__content blockquote {
  margin: 24px 0 0;
  padding: 21px;
  border-radius: 10px;
  background: var(--sage-light);
  font-size: 16px;
  line-height: 1.25;
}

.doctor-drawer__content blockquote span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.doctor-drawer__availability {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 15px;
}

@keyframes drawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 29, 28, 0.72);
  cursor: pointer;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}

.modal__panel {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(940px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.32s ease;
}

.modal__close {
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 13px;
  display: flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 60, 59, 0.07);
  font-size: 25px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal__close:hover {
  background: var(--amber);
  transform: rotate(9deg);
}

.modal__offer {
  padding: 50px;
  background:
    radial-gradient(circle at 5% 100%, rgba(77, 137, 122, 0.35), transparent 42%),
    var(--ink-dark);
  color: #fff;
}

.modal__offer h2 {
  margin-bottom: 18px;
  font-size: 40px;
}

.modal__offer > p {
  color: rgba(255, 255, 255, 0.63);
}

.modal__bonus {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 28px 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.modal__bonus > span {
  display: inline-flex;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink-dark);
  font-size: 12px;
  font-weight: 800;
}

.modal__bonus strong,
.modal__bonus p {
  display: block;
  margin: 0;
}

.modal__bonus p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.modal__offer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.modal__form {
  padding: 50px;
}

.modal__form h3 {
  margin: 0 0 5px;
  font-size: 30px;
}

.modal__form > p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.28s ease;
  }

  .mobile-menu.is-open {
    max-height: 560px;
    border-top: 1px solid var(--line);
    opacity: 1;
  }

  .mobile-menu__inner {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 650;
  }

  .mobile-menu__phone {
    display: inline-flex;
    margin: 24px 0 16px;
    font-size: 21px;
    font-weight: 750;
  }

  .mobile-menu__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 600px minmax(0, 1fr);
  }

  .hero-note {
    left: -20px;
  }

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

@media (max-width: 820px) {
  h1 {
    font-size: 50px;
    line-height: 55px;
  }

  h2 {
    font-size: 46px;
    line-height: 52px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 100px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 570px;
  }

  .hero-note {
    left: 16px;
  }

  .hero-rating {
    right: 16px;
  }

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

  .process-card:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .prices-layout,
  .trust-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .prices-copy,
  .faq-copy {
    position: static;
  }

  .credentials,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .credential,
  .review-card {
    min-height: 0;
  }

  .team-cta__content {
    width: 62%;
    padding-left: 40px;
  }

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

  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 16px;
    line-height: 23px;
  }

  .container {
    width: calc(100% - 24px);
    max-width: 360px;
  }

  .section {
    padding: 66px 0;
  }

  h1 {
    margin-bottom: 19px;
    font-size: 40px;
    line-height: 44px;
  }

  h2 {
    font-size: 35px;
    line-height: 41px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .section-head > p {
    font-size: 17px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.09em;
  }

  .header-inner {
    min-height: 66px;
  }

  .logo {
    font-size: 23px;
  }

  .header-phone {
    display: none;
  }

  .header-actions {
    gap: 9px;
  }

  .header-actions > .messengers {
    display: none;
  }

  .mobile-menu__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-menu__bottom .messengers {
    order: 2;
  }

  .mobile-menu__bottom .button {
    width: 100%;
  }

  .hero {
    padding: 96px 0 30px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    padding-top: 15px;
  }

  .hero-lead {
    margin-bottom: 40px;
    font-size: 17px;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 26px;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero-facts > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px 0 0;
  }

  .hero-facts > div + div {
    padding-left: 8px;
  }

  .hero-facts strong {
    font-size: 14px;
  }

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

  .hero-visual {
    min-height: 408px;
  }

  .hero-visual::before {
    width: 280px;
    height: 280px;
  }

  .hero-visual > img {
    border-radius: 120px 120px 14px 14px;
    object-position: 64% center;
  }

  .hero-note {
    bottom: 55px;
    left: 8px;
    max-width: 205px;
    padding: 10px;
  }

  .hero-rating {
    right: 8px;
    bottom: 9px;
    width: 185px;
    padding: 11px 13px;
  }

  .hero-rating p {
    display: none;
  }

  .hero-rating__top {
    margin: 0;
  }

  .service-grid,
  .doctors-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .process-card,
  .process-card:nth-child(3) {
    min-height: 210px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .process-card > span {
    margin-bottom: 43px;
  }

  .doctor-card__body {
    padding: 21px;
  }

  .prices-layout,
  .trust-layout,
  .faq-layout {
    gap: 40px;
  }

  .price-row summary {
    grid-template-columns: 1fr auto 30px;
    gap: 8px;
    padding: 18px 4px;
  }

  .price-row summary > span:first-child {
    font-size: 15px;
  }

  .price-row strong {
    font-size: 14px;
  }

  .price-row__toggle {
    width: 30px;
    height: 30px;
  }

  .price-row > p {
    margin: -2px 34px 18px 4px;
    font-size: 14px;
  }

  .trust-image img {
    min-height: 390px;
    border-radius: 100px 12px 12px;
  }

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

  .trust-points > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
  }

  .credentials {
    margin-top: 35px;
  }

  .review-card {
    min-height: 310px;
  }

  .faq-list summary {
    padding: 20px 0;
    font-size: 16px;
  }

  .faq-list details > p {
    margin-right: 0;
  }

  .team-cta {
    padding-bottom: 12px;
  }

  .team-cta__inner {
    min-height: 760px;
    border-radius: 12px;
    background-position: 69% center;
  }

  .team-cta__backdrop {
    background:
      linear-gradient(0deg, rgba(10, 39, 38, 0.99) 0%, rgba(10, 39, 38, 0.9) 47%, rgba(10, 39, 38, 0.16) 100%);
  }

  .team-cta__content {
    position: absolute;
    right: 20px;
    bottom: 25px;
    left: 20px;
    width: auto;
    padding: 0;
  }

  .team-cta__content h2 {
    font-size: 33px;
  }

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

  .lead-form--compact .consent,
  .lead-form--compact .button {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 54px;
  }

  .footer nav {
    gap: 15px 26px;
  }

  .footer-contacts {
    grid-column: auto;
  }

  .portfolio-rail {
    width: 38px;
    height: 164px;
    font-size: 10px;
  }

  .portfolio-rail:hover {
    width: 44px;
  }

  .portfolio-modal {
    align-items: flex-end;
  }

  .portfolio-modal__panel {
    padding: 47px 28px 32px;
    border-radius: 12px;
  }

  .portfolio-modal__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
  }

  .portfolio-modal__panel h2 {
    max-width: 320px;
    font-size: 36px;
    line-height: 37px;
  }

  .portfolio-modal__link {
    width: 100%;
  }

  .floating-actions {
    right: 12px;
    bottom: 16px;
  }

  .consult-float {
    min-height: 52px;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
  }

  .doctor-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .doctor-drawer__header {
    min-height: 270px;
    grid-template-columns: 0.78fr 1.22fr;
  }

  .doctor-drawer__header img {
    height: 270px;
  }

  .doctor-drawer__header > div {
    padding: 28px 22px;
  }

  .doctor-drawer__header h2 {
    font-size: 29px;
  }

  .doctor-drawer__content {
    padding: 26px 22px 34px;
  }

  .doctor-drawer__columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .to-top {
    width: 41px;
    height: 41px;
  }

  .modal {
    align-items: flex-end;
    padding: 8px;
  }

  .modal__panel {
    max-height: calc(100vh - 16px);
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .modal__offer {
    padding: 34px 24px 26px;
  }

  .modal__offer h2 {
    font-size: 32px;
  }

  .modal__offer > p,
  .modal__offer ul {
    display: none;
  }

  .modal__bonus {
    margin-bottom: 0;
  }

  .modal__form {
    padding: 26px 24px 30px;
  }

  .modal__form h3 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
