.page--home .page-hero {
  overflow: hidden;
}

.page--home .home-hero-section.section {
  position: relative;
  padding: 19px 0;
  background-color: #fbf8f3;
}

.page--home .home-hero-section.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-texture-side.png") left top / 100% 100% no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.page--home .home-hero-section .container {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  padding-inline: 80px;
}

.home-hero {
  display: grid;
  grid-template-columns: 480px 580px;
  grid-template-areas: "content media";
  justify-content: center;
  align-items: center;
  column-gap: 60px;
  min-height: 690.56px;
  padding: 40px 0;
}

.home-hero__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 480px;
  min-height: 496px;
  margin: 0;
  padding: 20px 8px;
}

.home-hero__title-block {
  width: 464px;
  text-align: center;
}

.home-hero__eyebrow {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 46px;
  line-height: 52px;
  color: #4f3c28;
}

.home-hero__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 73px;
  font-weight: 700;
  color: #4f3c28;
}

.home-hero__subtitle {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
  color: #926f40;
}

.home-hero__benefits {
  display: grid;
  gap: 26px;
  width: 303px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__benefit {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  color: #6d5846;
}

.home-hero__benefit::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #926f40;
}

.home-hero__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 247px;
  min-width: 247px;
  min-height: 69px;
  margin-top: -4px;
  margin-left: 0;
  padding: 14px 24px;
  border: 1px solid #a77743;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 41px;
  color: #4f3c28;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.home-hero__button::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -32%;
  width: 38%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-24deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
}

.home-hero__media {
  grid-area: media;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 610.56px;
  padding: 0;
}

.home-hero__image-card {
  width: 580px;
}

.home-hero__image {
  display: block;
  width: 580px;
  height: 610.56px;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) and (max-width: 991px) {
  .page--home .home-hero-section.section {
    padding: 10px 0 30px;
  }

  .page--home .home-hero-section .container {
    width: auto;
    padding-inline: 32px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
    justify-items: center;
    row-gap: 28px;
    min-height: auto;
    padding: 30px 0 10px;
  }

  .home-hero__content {
    gap: 34px;
    width: 100%;
    max-width: 620px;
    min-height: auto;
    padding: 10px 0 0;
  }

  .home-hero__title-block {
    width: 100%;
    max-width: 620px;
  }

  .home-hero__eyebrow {
    font-size: 38px;
    line-height: 1.1;
  }

  .home-hero__title {
    font-size: 58px;
    line-height: 1.08;
  }

  .home-hero__subtitle {
    font-size: 18px;
    line-height: 1.35;
  }

  .home-hero__benefits {
    width: 340px;
    gap: 20px;
  }

  .home-hero__benefit {
    font-size: 17px;
    line-height: 1.35;
  }

  .home-hero__button {
    width: 220px;
    min-width: 220px;
    min-height: 62px;
    font-size: 32px;
    line-height: 1.1;
  }

  .home-hero__media {
    min-height: auto;
  }

  .home-hero__image-card {
    width: 360px;
  }

  .home-hero__image {
    width: 360px;
    height: 379px;
  }
}

@media (max-width: 767px) {
  .page--home .home-hero-section.section {
    padding: 0;
    background-color: transparent;
  }

  .page--home .home-hero-section.section::before {
    inset: 0;
    background-image: url("../images/hero-texture-mobile.png");
    background-position: left top;
    background-size: 100% 100%;
    opacity: 0.5;
  }

  .page--home .home-hero-section .container {
    width: auto;
    padding-inline: 10px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
    justify-items: center;
    align-items: start;
    row-gap: 27px;
    min-height: 795px;
    padding: 40px 0;
  }

  .home-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 340px;
    min-height: 314px;
    margin-top: 0;
    padding: 10px 0;
  }

  .home-hero__title-block {
    width: 340px;
    padding-top: 0;
    text-align: center;
  }

  .home-hero__eyebrow {
    font-size: 28px;
    line-height: 32px;
  }

  .home-hero__title {
    margin-top: 18px;
    font-size: 48px;
    line-height: 55px;
  }

  .home-hero__subtitle {
    margin-top: 18px;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
  }

  .home-hero__benefits {
    gap: 20px;
    width: 272px;
    max-width: none;
    margin: 0 auto;
  }

  .home-hero__benefit {
    padding-left: 18px;
    font-size: 16px;
    line-height: 19px;
  }

  .home-hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 27px 0 0;
  }

  .home-hero__image-card {
    width: 268px;
  }

  .home-hero__image {
    width: 268px;
    height: 283px;
  }

  .home-hero__button {
    width: 182px;
    min-width: 182px;
    min-height: 47px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 24px;
    font-size: 24px;
    line-height: 27px;
  }
}

.services-overview {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #fcf9f4;
}

.services-overview .container {
  width: min(100%, 1280px);
  padding-inline: 0;
}

.services-overview__title {
  margin: 0 0 47px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.3;
  font-weight: 700;
  color: #4f3c28;
}

.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  gap: 0;
}

.services-card {
  position: relative;
  min-height: 651px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, #fbf7f0 0%, #f3ebdd 100%);
  border: 1px solid #e3d7c7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

.services-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 24px 24px 0 0;
  background: #b08a57;
}

.services-card::after {
  content: "";
  position: absolute;
  top: -67px;
  left: 190px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(233, 216, 183, 0.15);
  filter: blur(26px);
  pointer-events: none;
}

.services-card--specialists::before {
  background: #b08a57;
}

.services-card--ultrasound::before {
  background: #c4b29c;
}

.services-card--blocks::before {
  background: #a97a4c;
}

.services-card--lab::before {
  background: #d1ba94;
}

.services-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f5ecdd;
  box-shadow: inset 0 0 0 1px rgba(244, 236, 220, 0.9);
}

.services-card__icon {
  display: block;
  object-fit: contain;
}

.services-card__icon--specialists {
  width: 70px;
  height: 62px;
}

.services-card__icon--ultrasound {
  width: 63px;
  height: 51px;
}

.services-card__icon--blocks {
  width: 53px;
  height: 61px;
}

.services-card__icon--lab {
  width: 55px;
  height: 51px;
}

.services-card__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.5;
  font-weight: 700;
  color: #4a3426;
}

.services-card__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.services-card__list li {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #6d5846;
}

.services-card__list li::marker {
  color: #b08a57;
}

@media (min-width: 768px) and (max-width: 991px) {
  .services-overview {
    padding: 72px 0;
  }

  .services-overview .container {
    width: auto;
    padding-inline: 32px;
  }

  .services-overview__title {
    margin-bottom: 32px;
    font-size: 52px;
    line-height: 1.15;
  }

  .services-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .services-card {
    min-height: 560px;
    padding: 24px 22px 22px;
  }

  .services-card__title {
    font-size: 23px;
  }

  .services-card__list li {
    font-size: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .services-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767px) {
  .services-overview {
    padding-top: 60px;
  }

  .services-overview .container {
    width: auto;
    padding-inline: 20px;
  }

  .services-overview__title {
    width: 340px;
    margin: 0 auto 20px;
    font-size: 40px;
    line-height: 45px;
  }

  .services-overview__grid {
    grid-template-columns: 320px;
    justify-content: center;
    gap: 20px;
  }

  .services-card {
    min-height: 600px;
    padding: 26px 24px 24px;
  }

  .services-card::after {
    display: none;
  }

  .services-card__icon-wrap {
    margin-bottom: 15px;
  }

  .services-card__list {
    gap: 14px;
  }

  .services-card__list li {
    line-height: 1.3;
  }
}

.about-preview {
  background: #fcf9f4;
}

.about-preview .container {
  width: min(100%, 1280px);
  padding: 0 40px;
}

.about-preview__layout {
  display: grid;
  grid-template-columns: 634px 446px;
  align-items: start;
  column-gap: 120px;
  min-height: 720px;
  padding: 10px;
}

.about-preview__content {
  padding: 10px 0 10px 10px;
}

.about-preview__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.3;
  font-weight: 700;
  color: #4f3c28;
}

.about-preview__lead {
  max-width: 617px;
  margin: 27px 0 48px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 27px;
  color: #6d5846;
}

.about-preview__text {
  max-width: 634px;
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  color: #000;
}

.about-preview__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 157px;
  min-height: 52px;
  margin-top: 10px;
  padding: 12px 24px;
  border: 1px solid #a77743;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 23px;
  color: #4f3c28;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.about-preview__button::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -32%;
  width: 38%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-24deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
}

.about-preview__media {
  padding-top: 2px;
}

.about-preview__image {
  display: block;
  width: 446px;
  height: 669px;
  border-radius: 20px;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-preview {
    padding-top: 12px;
  }

  .about-preview .container {
    width: auto;
    padding: 0 32px;
  }

  .about-preview__layout {
    grid-template-columns: 1fr;
    row-gap: 28px;
    min-height: auto;
    padding: 0;
  }

  .about-preview__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .about-preview__title {
    width: 100%;
    font-size: 52px;
    line-height: 1.15;
    text-align: center;
  }

  .about-preview__lead {
    max-width: 640px;
    margin: 18px 0 26px;
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
  }

  .about-preview__text {
    max-width: 700px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
  }

  .about-preview__button {
    margin-top: 8px;
  }

  .about-preview__media {
    padding-top: 0;
  }

  .about-preview__image {
    width: 320px;
    height: 480px;
    margin: 0 auto;
  }
}

.specialists-showcase {
  padding: 80px 0;
  background: #fcf9f4;
}

.specialists-showcase .container {
  width: min(100%, 1280px);
  padding: 0 80px;
}

.specialists-showcase__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 64px 56px 56px;
  overflow: hidden;
  border: 1px solid rgba(228, 216, 199, 0.7);
  border-radius: 40px;
  background: linear-gradient(129.67deg, #f5efe6 0%, #f1eadf 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.specialists-showcase__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-texture-main.png") center / cover no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.specialists-showcase__panel::after {
  content: "";
  position: absolute;
  top: 566px;
  left: 57px;
  width: 1008px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(50px);
  pointer-events: none;
}

.specialists-showcase__heading,
.specialists-showcase__carousel,
.specialists-showcase__controls,
.specialists-showcase__button {
  position: relative;
  z-index: 1;
}

.specialists-showcase__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 660px;
  padding: 10px;
}

.specialists-showcase__title {
  width: 640px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.specialists-showcase__subtitle {
  width: 640px;
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #6d5846;
}

.specialists-showcase__carousel {
  width: 100%;
}

.specialists-showcase__cards {
  display: grid;
  grid-template-columns: repeat(3, 296px);
  justify-content: center;
  gap: 24px 20px;
}

.specialist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 296px;
  padding: 8px 0;
  border: 1px solid #e6dbcc;
  border-radius: 28px;
  background: #fbf8f3;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.specialist-card__image {
  display: block;
  width: 280px;
  height: 382px;
  border-radius: 22px;
  object-fit: cover;
  background: #cbc6bf;
}

.specialist-card__image--olga {
  object-position: center top;
}

.specialist-card__image--pishchelev {
  object-position: center 16%;
}

.specialist-card__image--ilyushina {
  object-position: center 16%;
}

.specialist-card__image--busheneva {
  object-position: center 12%;
}

.specialist-card__image--myandina {
  object-position: center 18%;
}

.specialist-card__image--elena {
  object-position: center 14%;
}

.specialist-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  min-height: 110px;
  padding-top: 1px;
}

.specialist-card__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 25px;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.specialist-card__meta {
  margin: 8px 0 0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #4f3c28;
}

.specialists-showcase__controls {
  display: none;
}

.specialists-showcase__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 246px;
  min-height: 53px;
  padding: 14px 24px 11px;
  border: 1px solid #a77743;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 27px;
  color: #4f3c28;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.specialists-showcase__button::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -32%;
  width: 38%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-24deg) translateX(-180%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 991px) {
  .specialists-showcase {
    padding: 72px 0;
  }

  .specialists-showcase .container {
    width: auto;
    padding: 0 32px;
  }

  .specialists-showcase__panel {
    gap: 36px;
    padding: 44px 24px 40px;
    border-radius: 32px;
  }

  .specialists-showcase__heading {
    width: 100%;
    max-width: 640px;
    gap: 16px;
    padding: 0;
  }

  .specialists-showcase__title {
    width: 100%;
    font-size: 52px;
    line-height: 1.15;
  }

  .specialists-showcase__subtitle {
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
  }

  .specialists-showcase__carousel {
    width: 100%;
  }

  .specialists-showcase__cards {
    grid-template-columns: repeat(2, minmax(0, 296px));
    gap: 20px;
  }

  .specialists-showcase__button {
    min-height: 52px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .home-hero__button:hover,
  .about-preview__button:hover,
  .specialists-showcase__button:hover {
    transform: translateY(-3px);
    border-color: #926f40;
    background-color: #fffaf3;
    box-shadow: 0 10px 22px rgba(122, 91, 58, 0.18);
  }

  .home-hero__button:hover::after,
  .about-preview__button:hover::after,
  .specialists-showcase__button:hover::after {
    opacity: 1;
    animation: home-button-sheen 0.8s ease;
  }
}

.home-hero__button:focus-visible,
.about-preview__button:focus-visible,
.specialists-showcase__button:focus-visible {
  transform: translateY(-2px);
  border-color: #926f40;
  box-shadow:
    0 10px 22px rgba(122, 91, 58, 0.16),
    0 0 0 3px rgba(160, 122, 73, 0.18);
  outline: none;
}

@keyframes home-button-sheen {
  0% {
    transform: skewX(-24deg) translateX(-180%);
  }

  100% {
    transform: skewX(-24deg) translateX(420%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__button,
  .about-preview__button,
  .specialists-showcase__button {
    transition: none;
  }

  .home-hero__button::after,
  .about-preview__button::after,
  .specialists-showcase__button::after {
    display: none;
  }
}

.numbers-section {
  padding: 0 0 80px 0;
  background: #fcf9f4;
}

.numbers-section .container {
  width: min(100%, 1280px);
  padding: 0 80px;
}

.numbers-section__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 30px 20px;
  overflow: hidden;
  border: 1px solid #e4d8c7;
  border-radius: 40px;
  background: linear-gradient(106.01deg, #f6f1e9 0%, #efe6da 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.numbers-section__title,
.numbers-section__cards {
  position: relative;
  z-index: 1;
}

.numbers-section__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.3;
  font-weight: 700;
  color: #4f3c28;
}

.numbers-section__cards {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 1020px;
  min-height: 266px;
  padding: 10px;
}

.numbers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border: 1px solid #e6dbcc;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.numbers-card--years {
  width: 280px;
  min-height: 230px;
  background: #fbf8f3;
}

.numbers-card--patients {
  width: 320px;
  min-height: 266px;
  background: #f3ebdd;
  border-color: #f3ebdd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.numbers-card--staff {
  width: 280px;
  min-height: 230px;
  background: #fbf8f3;
}

.numbers-card__line {
  display: block;
  flex: 0 0 auto;
  height: 2px;
  border-radius: 999px;
  background: #a07a49;
}

.numbers-card--years .numbers-card__line,
.numbers-card--staff .numbers-card__line {
  width: 44px;
}

.numbers-card--patients .numbers-card__line {
  width: 52px;
}

.numbers-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.numbers-card--years .numbers-card__content,
.numbers-card--staff .numbers-card__content {
  margin-top: 24px;
}

.numbers-card--patients .numbers-card__content {
  margin-top: 38px;
}

.numbers-card__value {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #4f3c28;
}

.numbers-card--years .numbers-card__value,
.numbers-card--staff .numbers-card__value {
  font-size: 60px;
  line-height: 78px;
}

.numbers-card--patients .numbers-card__value {
  font-size: 62px;
  line-height: 81px;
}

.numbers-card__label {
  margin: 3px 0 0;
  font-weight: 600;
  text-align: center;
  color: #6d5846;
}

.numbers-card--years .numbers-card__label,
.numbers-card--staff .numbers-card__label {
  font-size: 17px;
  line-height: 26px;
}

.numbers-card--patients .numbers-card__label {
  margin-top: 14px;
  font-size: 18px;
  line-height: 26px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .numbers-section {
    padding: 0 0 72px;
  }

  .numbers-section .container {
    width: auto;
    padding: 0 32px;
  }

  .numbers-section__panel {
    gap: 36px;
    padding: 32px 20px;
    border-radius: 32px;
  }

  .numbers-section__title {
    font-size: 52px;
    line-height: 1.15;
    text-align: center;
  }

  .numbers-section__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    min-height: auto;
    padding: 0;
  }

  .numbers-card,
  .numbers-card--years,
  .numbers-card--patients,
  .numbers-card--staff {
    width: auto;
    min-height: 220px;
    margin-top: 0;
    padding: 22px 18px;
  }

  .numbers-card--patients {
    border-color: #e6dbcc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .numbers-card--years .numbers-card__content,
  .numbers-card--staff .numbers-card__content,
  .numbers-card--patients .numbers-card__content {
    margin-top: 24px;
  }

  .numbers-card--years .numbers-card__value,
  .numbers-card--staff .numbers-card__value,
  .numbers-card--patients .numbers-card__value {
    font-size: 48px;
    line-height: 1.15;
  }

  .numbers-card__label,
  .numbers-card--patients .numbers-card__label {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .about-preview {
    padding-top: 25px;
  }

  .about-preview .container {
    width: auto;
    padding: 0 10px;
  }

  .about-preview__layout {
    grid-template-columns: 1fr;
    row-gap: 15px;
    min-height: 963px;
    padding: 0;
  }

  .about-preview__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .about-preview__title {
    width: 340px;
    font-size: 40px;
    line-height: 45px;
    text-align: center;
  }

  .about-preview__lead {
    width: 340px;
    margin: 15px 0;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
  }

  .about-preview__text {
    width: 340px;
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
  }

  .about-preview__button {
    min-width: 157px;
    min-height: 52px;
    margin-top: 5px;
  }

  .about-preview__media {
    padding-top: 10px;
  }

  .about-preview__image {
    width: 223px;
    height: 334px;
    margin: 0 auto;
  }

  .specialists-showcase {
    padding: 60px 0;
  }

  .specialists-showcase .container {
    width: auto;
    padding: 0 8px;
  }

  .specialists-showcase__panel {
    gap: 30px;
    padding: 10px;
    border-radius: 40px;
  }

  .specialists-showcase__panel::before {
    background-image: url("../images/hero-texture-mobile.png");
    background-position: left top;
    background-size: 100% 100%;
    opacity: 0.3;
  }

  .specialists-showcase__panel::after {
    display: none;
  }

  .specialists-showcase__heading {
    width: 324px;
    gap: 20px;
    padding: 10px;
  }

  .specialists-showcase__title {
    width: 304px;
    font-size: 40px;
    line-height: 1.3;
  }

  .specialists-showcase__subtitle {
    width: 304px;
    font-size: 16px;
    line-height: 28px;
  }

  .specialists-showcase__carousel {
    width: 324px;
    overflow: hidden;
  }

  .specialists-showcase__cards {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 17px 14px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .specialists-showcase__cards::-webkit-scrollbar {
    display: none;
  }

  .specialist-card {
    flex: 0 0 296px;
    scroll-snap-align: center;
  }

  .specialists-showcase__controls {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 129px;
    height: 40px;
  }

  .specialists-showcase__arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(79, 60, 40, 0.7);
    cursor: pointer;
  }

  .specialists-showcase__arrow-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .specialists-showcase__arrow-icon::before,
  .specialists-showcase__arrow-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid #f8fafc;
    border-right: 1.5px solid #f8fafc;
  }

  .specialists-showcase__arrow--next .specialists-showcase__arrow-icon::before {
    transform: translate(-60%, -50%) rotate(45deg);
  }

  .specialists-showcase__arrow--next .specialists-showcase__arrow-icon::after {
    display: none;
  }

  .specialists-showcase__arrow--prev .specialists-showcase__arrow-icon::before {
    transform: translate(-40%, -50%) rotate(-135deg);
  }

  .specialists-showcase__arrow--prev .specialists-showcase__arrow-icon::after {
    display: none;
  }

  .specialists-showcase__button {
    min-height: 53px;
  }

  .numbers-section {
    padding: 60px 0;
  }

  .numbers-section .container {
    width: auto;
    padding: 0 16px;
  }

  .numbers-section__panel {
    gap: 30px;
    padding: 20px;
  }

  .numbers-section__title {
    width: 288px;
    font-size: 40px;
    line-height: 1.3;
    text-align: center;
  }

  .numbers-section__cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 280px;
    min-height: auto;
    padding: 0;
  }

  .numbers-card,
  .numbers-card--years,
  .numbers-card--patients,
  .numbers-card--staff {
    width: 280px;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .numbers-card--years,
  .numbers-card--staff {
    min-height: 190px;
    background: #fbf8f3;
  }

  .numbers-card--patients {
    min-height: 210px;
    border-color: #e6dbcc;
    background: #f3ebdd;
  }

  .numbers-card--years .numbers-card__content,
  .numbers-card--staff .numbers-card__content,
  .numbers-card--patients .numbers-card__content {
    margin-top: 24px;
  }

  .numbers-card--years .numbers-card__value,
  .numbers-card--staff .numbers-card__value,
  .numbers-card--patients .numbers-card__value {
    font-size: 56px;
    line-height: 73px;
  }

  .numbers-card__label,
  .numbers-card--patients .numbers-card__label {
    margin-top: 0;
    font-size: 15px;
    line-height: 26px;
  }
}
