/* ==========
   Базовые стили
   ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    "Onest",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2933;
  background: #ecedee;
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.pricing-table__container {
        justify-content: space-between;
    display: flex;
    width: 100%;
    /* justify-content: center; */
    margin-left: 105px;
}

/* ==========
   Layout
   ========== */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ecedee;
}

.main {
  flex: 1 1 auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 0 16px; */
}

/* ==========
   Hero
   ========== */

.hero {
  padding: 56px 0 64px;
}

.hero__inner {
  max-width: 720px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
}

/* ==========
   Contacts page
   ========== */

.contacts-page {
  padding: 40px 0 72px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.breadcrumbs__item {
  color: inherit;
}

.breadcrumbs__item--current {
  color: #111827;
}

.breadcrumbs__separator {
  color: #d1d5db;
}

.contacts-page__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.contacts-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 32px;
}

.contacts-card__map {
  border-radius: 18px;
  overflow: hidden;
}

.contacts-card__map-inner {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.contacts-card__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  color: #4b5563;
}

.contacts-card__company {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.contacts-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 40px;
}

.contacts-card__grid-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-card__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-card__row--address {
  margin-bottom: 8px;
}

.contacts-card__label {
  font-weight: 600;
  color: #9ca3af;
}

.contacts-card__value {
  flex: 1 1 auto;
}

.contacts-card__phone {
  font-weight: 600;
  color: #111827;
}

.contacts-card__icon-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contacts-card__icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1.5px solid #1f2933;
}

.contacts-card__icon--phone {
  border-color: #2d71b0;
}

.contacts-card__icon--mail {
  border-color: #10b981;
}

.contacts-card__bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #16a34a;
  margin-right: 6px;
}

.contacts-card__hint {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.contacts-card__link {
  color: #2d71b0;
}

.contacts-card__social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.contacts-card__social-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.contacts-card__social-btn--inst {
  background: radial-gradient(230.93% 230.93% at 102.01% 2.03%, #F9ED32 0%, #EE2A7B 36%, #D22A8A 44%, #8B2AB2 60%, #1B2AF0 83%, #002AFF 88%);
}

.contacts-card__social-btn--tt {
  background: #111111;
  border-radius: 60px;
}

.contacts-card__social-icon {
  position: absolute;
  width: 50%;
  height: 50%;
  left: 25%;
  top: 25%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contacts-card__social-icon--inst {
  background: #FFFFFF;
  border-radius: 4px;
}

.contacts-card__social-icon--tt {
  background-image: url('../img/tiktok-icon.svg');
  background-size: contain;
}

/* Если нет SVG, используем градиент для TikTok иконки */
.contacts-card__social-icon--tt::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(41.47deg, #B5053C 9.81%, #C90441 27.8%, #F0014B 66.71%, #FF004F 87.01%);
  mask: url('../img/tiktok-icon.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../img/tiktok-icon.svg') no-repeat center;
  -webkit-mask-size: contain;
}

/* ==========
   Appointment block
   ========== */

.appointment {
  padding: 60px 0 60px;
}

.appointment__card {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  height: 540px;
}

.appointment__image {
  flex: 0 0 calc(50% - 10px);
  overflow: hidden;
  border-radius: 32px;
  position: relative;
}

.appointment__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reversed: image left, form right */
.appointment--reversed .appointment__card {
  gap: 20px;
  background-color: transparent;
}

.appointment--reversed .appointment__image {
  border-radius: 32px;
  order: 0;
}

.appointment--reversed .appointment__form {
  order: 1;
}

.appointment__form {
  flex: 0 0 calc(50% - 10px);
  background-color: #2d71b0;
  color: #ffffff;
  padding: 32px 70px;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  box-sizing: border-box;
}

.appointment__title {
  margin: 0 0 2px;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 48px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.appointment__subtitle {
  margin: 0 0 14px;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: -0.03em;
  color: #ffffff;
  opacity: 0.8;
  max-width: 519px;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.appointment-form__field {
  width: 100%;
}

.appointment-form__input {
  width: 100%;
  height: 55px;
  border-radius: 12px;
  border: none;
  padding: 12px 20px;
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  color: #1a2545;
  outline: none;
  box-sizing: border-box;
  background: #ffffff;
}

.appointment-form__input::placeholder {
  color: #1a2545;
  opacity: 0.4;
}

.appointment-form__input--textarea {
  resize: vertical;
  height: 120px;
  min-height: 80px;
}

.appointment-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}

.appointment-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appointment-form__checkmark {
  width: 16px;
  height: 18px;
  border-radius: 2px;
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  border: none;
}

.appointment-form__checkbox:checked + .appointment-form__checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #2d71b0;
  border-bottom: 2px solid #2d71b0;
  transform: rotate(40deg);
}

.appointment-form__consent-text {
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  color: #ffffff;
}

.appointment-form__submit {
  margin-top: 4px;
  padding: 8px 40px 10px;
  height: 60px;
  border-radius: 16px;
  border: none;
  background-color: #fe8629;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: -0.03em;
  cursor: pointer;
  width: 100%;
}

.appointment-form__submit:hover {
  background-color: #fb7a0f;
}

/* ==========
   Services hero
   ========== */

.services-hero {
  padding: 32px 0 72px;
}

.services-hero .container {
  padding: 0;
}

.services-hero__card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 240px;
  min-height: 260px;
  max-width: 320px;
  max-height: 320px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.services-hero__card--dog {
  background-image: url("../img/dog2.png");
}
.services-hero__card--cat {
  background-image: url("../img/cat3.png");
}

.services-hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.services-hero__card-title {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  font-family: Onest;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.services-hero__subtitle {
  margin: 0;
  color: #2d71b0;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;
}

.services-hero__text {
  margin: 0;
  color: #4b5563;
  max-width: 536px;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 130%;
  letter-spacing: -3%;

  margin-top: 15px;
}

.services-hero__button {
  margin-top: 11px;
  align-self: flex-start;
  padding: 25px 58px 27px 58px;
  border-radius: 16px;
  border: none;
  background-color: #ff8a2a;
  color: #ffffff;
  font-family: Golos Text;
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;

  cursor: pointer;
}

.services-hero__button:hover {
  background-color: #fb7a0f;
}

.services-hero__media {
  display: none;
}

.services-hero__media img {
  display: none;
}

.services-hero__overlay {
  position: relative;
}

.services-hero__overlay img {
  position: absolute;
  right: 0px;
  bottom: 0px;
  /* width: 420px; */
  max-width: none;
}

/* ==========
   Services grid
   ========== */

.services-grid {
  padding: 40px 0 72px;
}

.services-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, 217px);
  gap: 16px;
  justify-content: center;
}

.service-card {
  height: 200px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.service-card:hover {
  background-color: #ff8a2a;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 138, 42, 0.2);
}

.service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card__title {
  margin: 0;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 130%;
  letter-spacing: -3%;
}

.service-card__icon {
  margin-top: 24px;
  align-self: flex-end;
}

.service-card__icon img {
  width: 80px;
  height: 80px;
  filter: grayscale(1) brightness(0);
  transition: filter 0.2s ease-in-out;
}

.service-card:hover .service-card__icon img {
  filter: brightness(0) invert(1);
}

.service-card--soon {
  background-color: #f5f7fa;
  border: 1px dashed #d1d5db;
  box-shadow: none;
  cursor: default;
  position: relative;
}

.service-card--soon:hover {
  background-color: #f5f7fa;
  color: inherit;
  transform: none;
  box-shadow: none;
}

.service-card__soon-badge {
  position: absolute;
  top: 12px;
  background: #0dc267;
  color: #ffffff;
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;

  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.service-card--soon .service-card__title {
  margin-top: 16px;
}

/* Оранжевая карточка «Открыть все услуги» */
.service-card--all {
  background-color: #fe8629;
  color: #ffffff;
  text-decoration: none;
  display: flex;
}

.service-card--all:hover {
  background-color: #e5751f;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 138, 42, 0.3);
}

.service-card--all .service-card__content {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card--all .service-card__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.service-card--all .service-card__arrow {
  font-size: 28px;
  color: #ffffff;
}

.service-card--soon .service-card__icon img {
  filter: grayscale(1) brightness(0.7);
}

.service-card--soon:hover .service-card__icon img {
  filter: grayscale(1) brightness(0.7);
}

/* ==========
   Research Directions
   ========== */

.research-directions__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
    margin-top: 60px;

}
.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.direction-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 10px 0px #00000026;
}
.direction-card__icon {
  margin-bottom: 16px;
}
.direction-card__icon img {
  height: 70px;
  width: 70px;
}
.direction-card__title {
  margin: 0 0 8px;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;

  color: #111827;
}
.direction-card__text {
  margin: 0;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;

  color: #4b5563;
  line-height: 1.4;
}
.important-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0px 4px 10px 0px #00000026;
}

.important-note__strong {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;
}

.important-note__text {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}

.important-note__wrapper {
  gap: 14px;
  display: flex;
}

.important-note__icon img {
  height: 26px;
  width: 26px;
  margin-top: 2px;
  margin-bottom: 12px;
}
.important-note__content {
  font-size: 14px;
  color: #282a31;
  line-height: 1.5;
}
.important-note__content p {
  margin: 0 0 8px;
}
.important-note__content p:last-child {
  margin-bottom: 0;
}

/* ==========
   Pet preparation
   ========== */
.pet-preparation {
  padding: 0px 0;
  /* background-color: #f9f9f9; */
}
.pet-preparation__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;

  color: #333333;
  margin-bottom: 32px;
}
.specialists__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pet-preparation__content {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.pet-preparation__image {
  flex-shrink: 0;
}
.pet-preparation__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.pet-preparation__text {
  flex-grow: 1;
}
.pet-preparation__subtitle {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 28px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;

  margin-bottom: 24px;
  margin-top: 24px;
}

.pet-preparation__text {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}

.pet-preparation__text__small {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}

.pet-preparation__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 25px;
}
.pet-preparation__item {
  display: flex;
  gap: 12px;
}
.pet-preparation__item-icon {
  flex-shrink: 0;
}
.pet-preparation__item-text p {
  margin: 0;
  line-height: 1.5;
}
.pet-preparation__text {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}

.pet-preparation__text__small {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}
.pet-preparation__item-text p:first-child {
  font-weight: 600;
  margin-bottom: 4px;
}
@media (max-width: 992px) {
  .pet-preparation__content {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
  }
  .pet-preparation__image {
    width: 100%;
  }
}
@media (max-width: 768px) {
    .important-note__text {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 13px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}

.important-note__strong {
    font-size: 16px;
}

  .pet-preparation {
    padding: 40px 0;
  }
  .pet-preparation__title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -3%;
    margin-bottom: 17px;
  }
  .pet-preparation__subtitle {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: -3%;
    padding: 0px 6px;
    margin-top: 0;
  }
}

/* ==========
   Recommendations
   ========== */
.recommendations {
  padding: 60px 0;
}
.recommendations__title {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 30px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;
}
.recomendations__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 75px;
}
.recommendations-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #2d71b0;
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  max-width: 452px;
}
.recommendations-notice__icon {
  flex-shrink: 0;
}
.recommendations-notice__text {
  margin: 0;
  line-height: 1.5;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recommendation-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0px 4px 10px 0px #00000026;
}
.recommendation-card__icon {
  margin-bottom: 16px;
}
.recommendation-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Onest;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;
}
.recommendation-card__text {
  margin: 0;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: -3%;

  color: #555555;
}
@media (max-width: 992px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .recommendations {
    padding: 40px 0;
  }
  .recommendations__title {
    font-size: 20px;
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -3%;
    margin: 0;
  }
  .recomendations__wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 6px;
  }
  .recommendations-notice {
    max-width: 100%;
    margin: 0;
  }
  .recommendation-card__title {
    margin: 0;
    margin-bottom: 8px;
  }
  .recommendations-grid {
    gap: 8px;
  }
}

/* ==========
   Why Us
   ========== */
.why-us .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 60px 60px;
  gap: 20px;
}

.why-us__header {
  width: 100%;
}

.why-us__title {
  width: 100%;
  max-width: 415px;
  font-family: Onest, system-ui, sans-serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 48px;
  text-align: center;
  letter-spacing: -0.03em;
  color: #212836;
  margin: 0;
}

.why-us__content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  gap: 0;
}

.why-us__features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 1px;
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-radius: 32px 0 0 32px;
}

.why-us__image {
  width: 453px;
  flex-shrink: 0;
  border-radius: 0 32px 32px 0;
  overflow: hidden;
  background: #ffffff;
}

.why-us__image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 604px;
}

.why-us__image img {
  width: 100%;
  height: 100%;
  min-height: 604px;
  object-fit: cover;
  display: block;
}

.why-us__title-overlay {
  display: none;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 100%;
  background: #ffffff;
}

.feature-item:first-child {
  padding: 16px 24px 24px;
  background: #fe8629;
  border-radius: 16px;
}

.feature-item:first-child .feature-item__title,
.feature-item:first-child .feature-item__text {
  color: #ffffff;
}

.feature-item:not(:first-child) {
  padding: 24px 16px 16px;
  border-bottom: 1px solid rgba(33, 40, 54, 0.2);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item__title {
  margin: 0;
  font-family: Onest, "Golos Text", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: #212836;
}

.feature-item:first-child .feature-item__title {
  font-family: "Golos Text", system-ui, sans-serif;
  font-weight: 600;
}

.feature-item__text {
  margin: 0;
  font-family: Onest, "Golos Text", system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.03em;
  color: #212836;
  opacity: 0.8;
}

.feature-item:first-child .feature-item__text {
  opacity: 1;
}

@media (max-width: 768px) {
  .why-us .container {
    padding: 0 16px;
    gap: 8px;
  }

  .why-us__header {
    display: none;
  }

  .why-us__content {
    flex-direction: column;
    align-items: stretch;
  }

  .why-us__image {
    order: -1;
    width: 100%;
  }

  .why-us__image-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 240px;
    height: 240px;
    padding: 16px;
    gap: 10px;
    border-radius: 24px;
    overflow: hidden;
  }

  .why-us__image-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 47.75%, rgba(0, 0, 0, 0.6) 83.87%);
    pointer-events: none;
  }

  .why-us__image img {
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: cover;
  }
  
  .service-card--all .service-card__title {
      font-size: 12px;
  }

  .why-us__title-overlay {
    display: block;
    margin: 0;
    width: 262px;
    position: relative;
    z-index: 1;
    font-family: Onest, system-ui, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: #ffffff;
    z-index: 1;
  }

  .why-us__features {
    order: 1;
    padding: 16px;
    gap: 6px;
    border-radius: 24px;
    margin-top: 0;
  }

  .feature-item:first-child {
    padding: 12px 16px 16px;
    gap: 6px;
    border-radius: 12px;
  }

  .feature-item:not(:first-child) {
    padding: 8px;
    gap: 6px;
  }

  .feature-item__title {
    font-size: 16px;
    font-weight: 600;
  }

  .feature-item__text {
    font-size: 14px;
    line-height: 130%;
  }
}

.contacts-page .container {
  padding: 0;
}

.appointment .container {
  padding: 0;
}

/* ==========
   Service Cost
   ========== */
.service-cost {
  padding: 72px 0;
  padding-bottom: 80px;
}
/* .service-cost .container {
  padding: 0 16px;
} */
.service-cost__title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}
.pricing-table {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.pricing-table__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: #2d71b0;
    color: #ffffff;
    font-weight: 600;
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 32px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
    padding: 30px 20px;
}
.pricing-table__body {
  padding: 8px 0;
}
.pricing-table__row {
display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
    gap: 20px;
}
.pricing-table__row:last-child {
  border-bottom: none;
}
.pricing-table__service {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: -3%;
  color: #1f2933;
  padding-right: 16px;
  max-width: 550px;
  width: 100%;
}
.pricing-table__price {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;

  color: #ff8a2a;
  white-space: nowrap;
  min-width: 176px;
    text-align: end;
        max-width: 260px;
    width: 100%;
}
.service-cost__button {
  display: block;
  margin: 32px auto 0;
  padding: 16px 48px;
  border-radius: 12px;
  border: none;
  background-color: #ff8a2a;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.service-cost__button:hover {
  background-color: #fb7a0f;
}
/* ==========

/* ==========
   Responsive
   ========== */

@media (max-width: 1370px) {
  .services-hero__card {
    background-image: url("../img/yslyga-banner1.png");
    background-position: right center;
    background-size: auto 100%;
  }
  .hero-desktop .hero-slider {
    width: 742px;
  }
  .services-hero__overlay {
    display: none;
  }
}

@media (max-width: 1100px) {
  .services-hero__card {
    background-size: auto 100%;
  }
}

@media (max-width: 768px) {
  .service-cost {
    padding: 48px 0;
  }
  .service-cost__title {
    font-size: 24px;
    text-align: center;
  }
  .pricing-table__header,
  .pricing-table__row {
    padding: 12px 16px;
  }
  .pricing-table__service,
  .pricing-table__price {
    font-size: 14px;
    max-width: 245px;
    white-space: unset;
    min-width: 94px;
    max-width: 260px;
    width: 100%;
  }

  .services-hero__card {
    background-image: url("../img/banner-yslyga-mobile.png");
    background-position: right center;
    background-size: auto 100%;
  }

  .services-hero__title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -3%;
    max-width: 288px;
  }

  .services-hero__button {
    width: 100%;
  }

  .services-hero__subtitle {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
  }

  .services-hero__text {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: -3%;
  }

  .contacts-page__title {
    padding-left: 8px;
  }
  .breadcrumbs {
    padding-left: 8px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .contacts-page {
    padding: 24px 0 48px;
  }

  .contacts-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contacts-card__row {
    flex-direction: column;
  }

  .contacts-card__label {
    flex: 0 0 auto;
  }

  .contacts-card__row--split {
    gap: 16px;
  }

  .contacts-card__map {
    order: 2;
    margin-top: 16px;
  }

  .contacts-card__info {
    order: 1;
  }

  .contacts-card__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-card__grid-col {
    gap: 12px;
  }

  .appointment {
    padding: 0 0 48px;
  }

  .appointment__card {
    flex-direction: column;
    gap: 6px;
    height: auto;
  }

  .appointment__image {
    flex: none;
    min-height: 200px;
    border-radius: 12px;
  }

  .appointment__form {
    flex: none;
    padding: 16px 8px 28px;
    order: 2;
    border-radius: 12px;
  }

  .appointment--reversed .appointment__card {
    flex-direction: column;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  .appointment--reversed .appointment__image {
    order: 1;
    min-height: 200px;
    border-radius: 16px 16px 0 0;
    flex: none;
  }

  .appointment--reversed .appointment__form {
    order: 2;
    border-radius: 0 0 16px 16px;
    padding: 24px 16px 28px;
    flex: none;
  }

  .appointment__title {
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.03em;
  }

  .appointment__subtitle {
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.03em;
    opacity: 0.8;
  }

  .appointment-form__input {
    height: auto;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .appointment-form__input--textarea {
    height: auto;
  }

  .appointment-form__consent-text {
    font-size: 12px;
    line-height: 120%;
  }

  .services-hero {
    padding: 24px 0 48px;
  }

  .services-hero__card {
    grid-template-columns: 1fr;
    border-radius: 0;
    box-shadow: none;
  }

  .services-hero__content {
    padding: 20px 16px 16px;
  }

  .services-grid {
    padding: 24px 0 40px;
  }

  .services-grid__inner {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .service-card {
    height: auto;
    min-height: 100px;
    padding: 12px 8px;
    justify-content: center;
  }

  .service-card__content {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .service-card__title {
    order: 2;
    font-size: 12px;
    font-weight: 500;
  }

  .service-card__icon {
    order: 1;
    margin-top: 0;
    margin-bottom: 8px;
    align-self: center;
  }

  .service-card__icon img {
    width: 32px;
    height: 32px;
  }

  .service-card--soon .service-card__title {
    margin-top: 0;
  }

  .service-card__soon-badge {
    font-size: 9px;
    padding: 2px 6px;
    top: 8px;
  }

  .research-directions {
/*     padding: 48px 0;
 */  }

  .research-directions__title {
    font-size: 24px;
    text-align: center;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .direction-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "icon text";
    gap: 0 16px;
    align-items: start;
    padding: 16px;
  }

  .direction-card__icon {
    grid-area: icon;
    margin-bottom: 0;
  }

  .direction-card__icon img {
    height: 40px;
    width: 40px;
  }

  .direction-card__title {
    grid-area: title;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .direction-card__text {
    grid-area: text;
    font-size: 13px;
  }

  .important-note {
    padding: 16px;
  }
  .pricing-table__header {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: -3%;
  }
}

/* ==========
   Hero Desktop & Mobile
   ========== */

.hero-desktop {
  display: block;
  padding: 60px 0;
}

.hero-desktop__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 20px;
}

.hero-desktop__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-desktop__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-desktop__logo {
  height: auto;
  display: block;
}

.hero-desktop__text {
  color: #2d71b0;
  margin: 0;
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
}

.hero-desktop__clinic-image {
  max-width: 808px;
  height: auto;
  border-radius: 16px;
  display: block;
}

.hero-desktop__right {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-desktop__cards {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.hero-desktop__card {
  position: relative;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  padding: 18px;
  min-width: 240px;
  min-height: 260px;
  width: 278px;
  height: 278px;
  overflow: hidden;
}

.hero-desktop__card:hover {
  transform: translateY(-8px);
}
.hero-desktop__card--dog {
  background-image: url("../img/dog2.png");
}
.hero-desktop__card--cat {
  background-image: url("../img/cat3.png");
}

.hero-desktop__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-desktop__card-title {
  position: relative;
  z-index: 2;
  font-family: Golos Text;
  font-weight: 500;
  font-style: Medium;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 130%;
  letter-spacing: -3%;
  color: #212836;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-mobile {
  display: none;
  padding: 24px 0;
}

.hero-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.hero-mobile__logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.hero-mobile__text {
  font-size: 16px;
  font-weight: 400;
  color: #1f2933;
  text-align: center;
  margin: 0;
  font-family: Onest;
}

.hero-mobile__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.hero-mobile__card {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 172px;
  width: 100%;
  overflow: hidden;
}

.hero-mobile__card--dog {
  background-image: url("../img/dog2.png");
}

.hero-mobile__card--cat {
  background-image: url("../img/cat3.png");
}

.hero-mobile__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-mobile__card-title {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: Onest;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider .swiper {
  border-radius: 24px;
  overflow: hidden;
}

.hero-slider .swiper-slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-desktop .hero-slider {
  width: 800px;
}

.hero-desktop .hero-slider .swiper {
  height: 540px;
}

.hero-desktop .hero-slider .swiper-slide img {
  height: 100%;
}

.hero-slider__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  padding: 48px 36px;
  color: #ffffff;
  z-index: 5;
  pointer-events: none;
}

.hero-slider__title {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 38px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 40px;
}

.hero-slider__button {
  background-color: #FE8629;
  color: white;
  border: none;
  border-radius: 16px;
  padding: 20px 48px;
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 100%;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: all;
}

.hero-slider__button:hover {
    background-color: #e5751f;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 138, 42, 0.3);
}



.hero-slider__nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #1f2933;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__btn:hover {
  background-color: #ffffff;
  transform: scale(1.05);
}

.hero-slider__pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 0;
}

.hero-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  opacity: 1;
  border-radius: 50%;
  transition: background 0.3s;
  cursor: pointer;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  background: #fe8629;
}

@media (max-width: 1410px) {
.hero-desktop .hero-slider {
    width: 700px;
}
  .hero-mobile {
    display: none;
  }

  .hero-mobile__card {
    background-size: contain;
    min-height: 320px;
    align-items: start;
  }
  .hero-mobile__card-title {
    color: black;
    align-items: start;
    padding: 20px;
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: -0.03em;
  }
  .services-grid__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, 217px);
    gap: 16px;
    justify-content: start;
}
}


@media (max-width: 1300px) {
  .hero-desktop .hero-slider {
    width: 600px;
}
}

@media (max-width: 1200px) {
  .hero-desktop .hero-slider {
    width: 500px;
}
}

@media (max-width: 1024px) {
  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }
  
}

@media (max-width: 768px) {
  .hero-mobile {
    padding: 20px 0;
  }

  .hero-mobile__inner {
    gap: 16px;
  }
  
  .swiper-slide {
      display: contents;
  }

  .hero-mobile__logo {
    max-width: 240px;
  }

  .hero-mobile__text {
    font-size: 14px;
  }

  .hero-mobile__cards {
    gap: 12px;
  }

  .hero-mobile__card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .hero-slider__title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .hero-slider__button {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 12px;
  }

  .hero-slider__btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
    border-radius: 6px;
  }

  .hero-slider__content {
    padding: 24px 20px;
  }

  .hero-mobile__card {
    background-size: contain;
    min-height: 300px;
    align-items: start;
  }

}

@media (max-width: 620px) {
  .hero-mobile__card {
    background-size: contain;
    min-height: 250px;
    align-items: start;
  }

  .hero-slider {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .hero-mobile__card {
    background-size: contain;
    min-height: 200px;
    align-items: start;
  }
  
  .specialist-card {
    display: flex;
    flex-direction: column;
    width: 168px;
    min-width: 335px;
    max-width: 273px;
    height: 245px;
    flex-shrink: 0;
}


}

@media (max-width: 360px) {
  .hero-mobile__card {
    background-size: contain;
    min-height: 172px;
    align-items: start;
  }
}

@media (max-width: 480px) {
  .hero-mobile {
    padding: 16px 0;
  }

  .hero-mobile__inner {
    gap: 12px;
  }

  .hero-mobile__logo {
    max-width: 200px;
  }

  .hero-mobile__text {
    font-size: 13px;
  }

  .hero-mobile__cards {
    gap: 10px;
  }

  .hero-mobile__card-title {
    font-size: 16px;
    padding-top: 25px;
    margin-bottom: 10px;
  }

  .hero-mobile__clinic-content {
    padding: 16px 12px;
  }

  .hero-mobile__clinic-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .hero-mobile__clinic-button {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero-mobile__clinic-nav {
    bottom: 12px;
    right: 12px;
    gap: 6px;
  }

  .hero-mobile__clinic-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 8px;
  }

  .hero-mobile__clinic-button {
    padding: 18px 32px;
  }
}

@media (max-width: 375px) {
  .hero-mobile {
    padding: 12px 0;
  }

  .hero-mobile__inner {
    gap: 10px;
  }

  .hero-mobile__logo {
    max-width: 170px;
  }

  .hero-mobile__text {
    font-size: 12px;
  }

  .hero-mobile__cards {
    gap: 0px;
  }

  .hero-mobile__card-title {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-mobile__clinic-content {
    padding: 12px 10px;
  }

  .hero-mobile__clinic-title {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .hero-mobile__clinic-button {
    padding: 6px 8px;
    font-size: 10px;
  }

  .hero-mobile__clinic-nav {
    bottom: 10px;
    right: 10px;
    gap: 4px;
  }

  .hero-mobile__clinic-nav-btn {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

/* ==========
   About Us Block
   ========== */

.about-us {
  padding: 60px 0;
  overflow: hidden;
}

.about-us__inner {
  display: grid;
  grid-template-columns: 690px 690px;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: visible;
}

.about-us__left {
  background: url(/assets/img/aboutbg.png);
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 48px 40px;
  color: #ffffff;
  position: relative;
  z-index: 4;
  width: 690px;
  height: 500px;
  box-sizing: border-box;
}

.about-us__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-us__logo {
  max-width: 500px;
  height: auto;
  display: block;
}

.about-us__text {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 110%;
  letter-spacing: -3%;
  color: #ffffff;
  margin: 0;
}

.about-us__button {
  align-self: flex-start;
  background-color: #FE8629;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: Onest;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 35px;
}

.about-us__button:hover {
        background-color: #e5751f;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 138, 42, 0.3);
}

.specialist-card:hover {
    transform: translateY(-3px);
}

.about-us__right {
  position: relative;
  margin-left: -60px;
  z-index: 3;
  width: 690px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
}

.about-us__image {
  width: 749px;
  height: 605px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transform: translateX(-60px);
}

@media (max-width: 1200px) {
  .about-us {
    padding: 50px 0;
  }

  .about-us__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .about-us__left {
    width: 100%;
    height: auto;
    padding: 40px 32px;
  }

  .about-us__logo {
    max-width: 200px;
  }

  .about-us__right {
    width: 100%;
    height: auto;
    margin-left: -40px;
  }

  .about-us__image {
    width: 100%;
    height: auto;
    transform: none;
  }
}

@media (max-width: 992px) {
  .about-us {
    padding: 40px 0;
  }

  .about-us .container {
    padding: 0 16px;
  }

  .about-us__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-us__left {
    width: 100%;
    height: auto;
    padding: 32px 28px;
    background-size: cover;
  }

  .about-us__logo {
    max-width: 220px;
  }

  .about-us__text {
    font-size: 15px;
  }

  .about-us__button {
    padding: 12px 28px;
    font-size: 15px;
  }

  .about-us__right {
    width: 100%;
    height: auto;
    margin-left: 0;
    overflow: hidden;
  }

  .about-us__image {
    width: 100%;
    height: auto;
    transform: none;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .about-us {
    padding: 24px 0;
  }

  .about-us__inner {
    gap: 16px;
  }

  .about-us__left {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .about-us__logo {
    max-width: 200px;
  }

  .about-us__text {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-us__button {
    padding: 14px 28px;
    font-size: 14px;
    border-radius: 10px;
  }

  .about-us__image {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .about-us {
    padding: 16px 0;
  }

  .about-us__inner {
    gap: 12px;
  }

  .about-us__left {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .about-us__content {
    gap: 14px;
  }

  .about-us__logo {
    max-width: 180px;
  }

  .about-us__text {
    font-size: 13px;
    line-height: 1.4;
  }

  .about-us__button {
    padding: 12px 24px;
    font-size: 13px;
  }

  .about-us__image {
    border-radius: 8px;
  }
}

@media (max-width: 375px) {
  .about-us {
    padding: 12px 0;
  }

  .about-us__left {
    padding: 16px 12px;
  }

  .about-us__content {
    gap: 12px;
  }

  .about-us__logo {
    max-width: 160px;
  }

  .about-us__text {
    font-size: 12px;
    line-height: 1.3;
  }

  .about-us__button {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* ==========
   Specialists Block
   ========== */

.specialists {
  padding: 60px 0 80px;
  background-image: url("../img/specialistsbg.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  
}

.specialists__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.specialists__title {
  margin: 0;
  font-family: Onest;
  font-weight: 700;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: -0.03em;
  color: #111827;
}

.specialists__link {
  color: #2d71b0;
  text-decoration: none;
  font-family: Onest;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.specialists__link:hover {
  color: #ff8a2a;
}

.specialists__nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.specialists__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  background-color: #ffffff;
  color: #111827;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.specialists__nav-btn:hover {
  border-color: #2d71b0;
  color: #2d71b0;
}

.specialists__slider {
  overflow: hidden;
}

.specialists__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialist-card {
  display: flex;
  flex-direction: column;
  width: 335px;
  min-width: 335px;
  max-width: 335px;
  height: 400px;
  flex-shrink: 0;
  transition: 0.5s;
}

.specialist-card__photo {
  position: relative;
  background-color: #e8eaed;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  max-height: 275px;
}

.specialist-card__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.specialist-card__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-family: Onest;
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.specialist-card__name {
  margin: 0 0 4px;
  font-family: Onest;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #111827;
}

.specialist-card__role {
  margin: 0 0 8px;
  font-family: Onest;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: #6b7280;
}

.specialist-card__link {
  font-family: Onest;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: -0.03em;
  color: #2d71b0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.specialist-card__link:hover {
  color: #ff8a2a;
}

/* Specialists — Mobile */
@media (max-width: 992px) {
  .specialists {
    padding: 40px 0 48px;
    background-size: cover;
  }

  .specialists .container {
    padding: 0 8px;
  }

  .specialists__header {
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .specialists__title {
    font-size: 24px;
  }

  .specialists__link {
    font-size: 14px;
  }

  .specialists__nav {
    display: none;
  }

  .specialists__slider {
    overflow: visible;
  }

  .specialists__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    transition: none;
    transform: none !important;
  }

  .specialist-card {
    min-width: 0;
  }

  .specialist-card__photo {
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .specialist-card__badge {
    font-size: 11px;
    padding: 4px 8px;
    bottom: 8px;
    left: 8px;
    display: none;
  }

  .specialist-card__name {
    font-size: 15px;
    line-height: 120%;
  }

  .specialist-card__role {
    font-size: 12px;
    line-height: 120%;
  }

  .specialist-card__link {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .specialists {
    padding: 32px 0 40px;
  }

  .specialists__title {
    font-size: 22px;
  }

  .specialists__track {
    gap: 10px;
  }

  .specialist-card__name {
    font-size: 14px;
  }

  .specialist-card__role {
    font-size: 11px;
  }

  .specialist-card__link {
    font-size: 12px;
  }
}

/* ==========
   Reviews Block
   ========== */

.reviews {
  padding: 60px 0;
}

.reviews__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.reviews__title {
  margin: 0;
  font-family: Onest;
  font-weight: 700;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: -0.03em;
  color: #111827;
}

.reviews__link {
  color: #2d71b0;
  text-decoration: none;
  font-family: Onest;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.reviews__link:hover {
  color: #ff8a2a;
}

.reviews__slider {
  overflow: hidden;
  width: 100%;
}

.reviews__track {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  color: #facc15;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card__name {
  margin: 0 0 4px;
  font-family: Onest;
  font-weight: 700;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #111827;
}

.review-card__service {
  font-family: Onest;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #9ca3af;
  margin-bottom: 14px;
}

.review-card__text {
  margin: 0 0 16px;
  font-family: Onest;
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.review-card__link {
  font-family: Onest;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: -0.03em;
  color: #2d71b0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  margin-top: auto;
}

.review-card__link:hover {
  color: #ff8a2a;
}

/* Reviews — Mobile */
@media (max-width: 768px) {
  .reviews {
    padding: 40px 0;
  }

  .reviews .container {
    padding: 0 8px;
  }

  .reviews__header {
    margin-bottom: 20px;
  }

  .reviews__title {
    font-size: 24px;
  }

  .reviews__link {
    font-size: 14px;
  }

  .reviews__track {
    gap: 16px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 24px 20px;
  }

  .review-card__name {
    font-size: 18px;
  }

  .review-card__text {
    font-size: 14px;
    -webkit-line-clamp: 7;
  }
  
  .specialist-card {
        display: flex;
        flex-direction: column;
        width: 260px;
        min-width: 225px;
        max-width: 90px;
        height: 309px;
        width: 100%;
        flex-shrink: 0;
    }
    .specialist-card__photo img {
        max-height: 192px;
    }
}

@media (max-width: 480px) {
  .reviews {
    padding: 32px 0;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 20px 16px;
  }

  .review-card__name {
    font-size: 16px;
  }

  .review-card__text {
    font-size: 13px;
  }
}

/* ========== Blog / Новости и полезные статьи ========== */
.blog {
  padding: 60px 0 80px;
  padding-bottom: 0px;
  background: #f7f8fa;
  padding-bottom: 60px;
}

.blog__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.blog__title {
  font-family: "Onest", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #1a1a1a;
}

.blog__link {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #2d71b0;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid #2d71b0;
  border-radius: 999px;
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s;
}

.blog__link:hover {
  background: #2d71b0;
  color: #fff;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.blog-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #1a1a1a;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1;
}

.blog-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card__link {
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #2d71b0;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.blog-card__link:hover {
  text-decoration: underline;
}

.blog-card__date {
  font-family: "Onest", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #9ca3af;
}

/* ---- Blog mobile ---- */
@media (max-width: 992px) {
  .blog {
    padding: 24px 0 40px;
    background: #ffffff;
  }

  .blog .container {
    padding: 0 8px;
  }

  .blog__header {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .blog__title {
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: #212836;
  }

  .blog__link {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    font-weight: 500;
    color: #2d71b0;
    border: none;
    padding: 0;
    gap: 6px;
  }

  .blog__link:hover {
    background: none;
    color: #2d71b0;
  }

  .blog__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .blog-card {
    flex-direction: row;
    align-items: flex-start;
    border-radius: 0;
    background: transparent;
    gap: 10px;
    height: 120px;
    overflow: visible;
    width: 100%;
  }

  .blog-card__image {
    width: 150px;
    min-width: 150px;
    aspect-ratio: auto;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
  }

  .blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .blog-card__badge {
    top: auto;
    bottom: 7px;
    left: 7px;
    font-size: 11px;
    font-weight: 500;
    line-height: 100%;
    padding: 4px 6px;
    border-radius: 12px;
    color: #212836;
    background: #ffffff;
  }

  .blog-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 6px;
    flex: 1;
    height: 120px;
  }

  .blog-card__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: #212836;
    margin: 0;
    align-self: stretch;
  }

  .blog-card__footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 4px;
    flex: 1;
    align-self: stretch;
  }

  .blog-card__date {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    color: #212836;
    opacity: 0.6;
    order: -1;
  }

  .blog-card__link {
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
color: #2d71b0;  }
}

@media (max-width: 480px) {

  .specialist-card {
    display: flex;
    flex-direction: column;
    width: 168px;
        min-width: 160px;
    max-width: 273px;
    flex-shrink: 0;
}
    .specialist-card__photo img {
        max-height: 137px;
        max-width: 168px;
    }
}

@media (max-width: 768px) {
      .services-grid__inner {
        display: grid;
        grid-template-columns: repeat(auto-fill, 160px);
        gap: 16px;
        justify-content: center;
}
}