.services-page {
  min-width: 320px;
  background: #ffffff;
  color: #303030;
}

.services-main {
  overflow: hidden;
  padding-top: 150px;
}

.services-hero {
  position: relative;
  min-height: calc(100vh - 150px);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("../images/bg-price.png") center 58% / cover no-repeat;
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 34, 0.62);
}

.services-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.services-hero__content h1 {
  margin: 0 0 12px;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.services-hero__content p {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.price-list {
  position: relative;
  padding: 90px 24px 130px;
  background: #ffffff;
  overflow: hidden;
}

.price-list__container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.animal-section {
  position: relative;
  min-height: 830px;
  padding: 0 0 90px;
  overflow: hidden;
}

.animal-section + .animal-section {
  margin-top: 80px;
  padding-top: 85px;
  border-top: 4px dashed rgba(100, 100, 100, 0.22);
}

.animal-section__title {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 78px;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: #111111;
  text-align: center;
}

.animal-section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: min(920px, 92vw);
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(70, 70, 70, 0.36) 0 14px,
    transparent 14px 26px
  );
}

.animal-section__bg {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 165px;
  width: 560px;
  max-width: 82vw;
  opacity: 0.22;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.animal-section__bg--cat {
  width: 610px;
  top: 175px;
}

.animal-section__bg--dog {
  width: 590px;
  top: 180px;
}

.animal-section__bg--bird {
  width: 570px;
  top: 190px;
}

.animal-section__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-flow: row;
  align-items: start;
  gap: 28px 28px;
}

.price-category {
  min-width: 0;
}

.price-category--surgery {
  grid-column: 1 / -1;
  grid-row: 1;
}

.price-category--therapy {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.price-category--care {
  grid-column: 2;
  grid-row: 2;
}

.price-category--vaccine {
  grid-column: 2;
  grid-row: 3;
}

.price-category--surgery .price-category__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.price-category__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  color: #303030;
}

.price-category__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 7px 12px 7px 14px;
  border: 2px solid #b9b9b9;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: #4e4e4e;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.price-item:hover {
  transform: translateY(-2px);
  border-color: #9440d5;
  color: #9440d5;
  box-shadow:
    0 7px 16px rgba(148, 64, 213, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.price-item::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid #d8d8d8;
  flex-shrink: 0;
  transition: border-left-color 0.2s ease;
}

.price-item:hover::after {
  border-left-color: #9440d5;
}

.price-item span {
  flex: 1;
  text-align: left;
}

.price-item strong {
  margin-left: 6px;
  white-space: nowrap;
  font-weight: 700;
  color: inherit;
}


.animal-section--exotic {
  min-height: auto;
  padding-bottom: 80px;
  overflow: visible;
}

.exotic-card {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 46px 42px 50px;
  border: 1px solid rgba(70, 95, 130, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(154, 217, 234, 0.22) 0,
      transparent 32%
    ),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 24px 60px rgba(48, 67, 98, 0.12);
  text-align: center;
}

.exotic-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(148, 64, 213, 0.12);
  color: #9440d5;
  font-size: 17px;
  font-weight: 700;
}

.exotic-card__title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #303030;
}

.exotic-card__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 180px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(70, 70, 70, 0.22);
}

.exotic-card__text {
  max-width: 790px;
  margin: 0 auto 28px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: #3e3e3e;
}

.exotic-card__animals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 34px;
}

.exotic-card__animals span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border: 2px solid rgba(165, 174, 195, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 7px 18px rgba(45, 60, 90, 0.08);
  font-size: 18px;
  font-weight: 700;
  color: #3e3e3e;
}

.exotic-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  min-height: 62px;
  padding: 0 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, #a247e2 0%, #8334c2 100%);
  box-shadow: 0 18px 36px rgba(148, 64, 213, 0.28);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.exotic-card__button:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 22px 44px rgba(148, 64, 213, 0.34);
}


.services-bottom {
  padding: 70px 24px 110px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.services-bottom__card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 48px 44px;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(154, 217, 234, 0.2) 0,
      transparent 32%
    ),
    linear-gradient(145deg, #ffffff 0%, #edf4ff 100%);
  box-shadow: 0 22px 54px rgba(40, 60, 100, 0.12);
  text-align: center;
}

.services-bottom__card h2 {
  margin: 0 0 18px;
  font-size: 38px;
  font-weight: 700;
  color: #151515;
}

.services-bottom__card p {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 21px;
  line-height: 1.5;
  color: #565656;
}

.services-bottom__card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 68px;
  padding: 0 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #a247e2 0%, #8334c2 100%);
  box-shadow: 0 16px 34px rgba(148, 64, 213, 0.28);
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.services-bottom__card a:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 20px 42px rgba(148, 64, 213, 0.34);
}

@media (max-width: 1100px) {
  .services-hero {
    min-height: 560px;
    padding: 150px 24px 80px;
  }

  .services-hero__content h1 {
    font-size: 64px;
  }

  .services-hero__content p {
    font-size: 25px;
  }

  .price-list__container {
    max-width: 880px;
  }

  .animal-section {
    min-height: 760px;
  }

  .animal-section__title {
    font-size: 52px;
  }

  .animal-section__grid {
    gap: 26px 26px;
  }

  .price-category__title {
    font-size: 36px;
  }

  .price-item {
    font-size: 16px;
  }

  .animal-section__bg {
    width: 500px;
    opacity: 0.2;
  }
}

@media (max-width: 820px) {
  .services-hero {
    min-height: 500px;
    padding: 120px 18px 70px;
  }

  .services-hero__content h1 {
    font-size: 48px;
  }

  .services-hero__content p {
    font-size: 21px;
  }

  .price-list {
    padding: 70px 18px 90px;
  }

  .animal-section {
    min-height: auto;
    padding: 0 0 70px;
  }

  .animal-section + .animal-section {
    margin-top: 45px;
    padding-top: 65px;
  }

  .animal-section__title {
    margin-bottom: 58px;
    font-size: 42px;
  }

  .animal-section__title::after {
    bottom: -20px;
  }

  .animal-section__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 42px;
  }

  .price-category--surgery,
  .price-category--therapy,
  .price-category--care,
  .price-category--vaccine {
    grid-column: auto;
    grid-row: auto;
  }

  .price-category--surgery .price-category__list {
    grid-template-columns: 1fr;
  }

  .price-category__title {
    justify-content: center;
    font-size: 32px;
    text-align: center;
  }

  .animal-section__bg {
    top: 190px;
    width: 380px;
    max-width: 80vw;
    opacity: 0.12;
  }

  .price-item {
    min-height: 48px;
    font-size: 17px;
  }

  .animal-section--exotic {
    padding-bottom: 60px;
  }

  .exotic-card {
    padding: 38px 24px 42px;
    border-radius: 28px;
  }

  .exotic-card__title {
    font-size: 32px;
  }

  .exotic-card__text {
    font-size: 19px;
  }

  .exotic-card__animals {
    gap: 10px;
  }

  .exotic-card__animals span {
    min-height: 42px;
    padding: 0 15px;
    font-size: 16px;
  }

  .exotic-card__button {
    min-width: 100%;
    font-size: 20px;
  }

  .services-bottom {
    padding: 60px 18px 90px;
  }

  .services-bottom__card {
    padding: 38px 24px;
    border-radius: 28px;
  }

  .services-bottom__card h2 {
    font-size: 32px;
  }

  .services-bottom__card p {
    font-size: 19px;
  }

  .services-bottom__card a {
    min-width: 100%;
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  .services-hero__content h1 {
    font-size: 40px;
  }

  .services-hero__content p {
    font-size: 18px;
  }

  .animal-section__title {
    font-size: 34px;
  }

  .price-category__title {
    font-size: 28px;
  }

  .price-item {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 15px;
  }

  .price-item strong {
    margin-left: 6px;
  }

  .exotic-card {
    padding: 32px 18px 36px;
  }

  .exotic-card__badge {
    font-size: 15px;
  }

  .exotic-card__title {
    font-size: 28px;
  }

  .exotic-card__text {
    font-size: 17px;
  }

  .exotic-card__animals span {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }

  .exotic-card__button {
    min-height: 58px;
    font-size: 18px;
  }
}
