:root {
  --primary: #d4af37; /* золотисто-желтый */
  --text-dark: #000;
  --text-medium: #1a1a1a;
  --text-light: #666;
  --bg-light: #fff;
  --border-light: #eee;
}

/* Подключение шрифтов */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@700&display=swap");

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header__logo:hover {
  opacity: 0.8;
}

.header__nav {
  display: flex;
  margin: 0 2rem;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.header__menu-link {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-medium);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.header__menu-link:hover {
  color: var(--text-dark);
}

.header__menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.header__menu-link:hover::after {
  width: 100%;
}

.header__login-btn {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.header__login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2); /* Обновленный цвет с прозрачностью */
}

.hero {
  padding: 6rem 5%;
  background-color: var(--bg-light);
  text-align: center;
  position: relative;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero__description {
  font-size: 1.25rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__btn {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem; /* Уменьшили размер шрифта */
  font-weight: 700; /* Жирный текст */
  padding: 0.65rem 1.35rem; /* Уменьшили отступы */
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
}

.hero__btn:first-child {
  background-color: var(--primary);
  color: var(--text-dark);
}

.hero__btn:last-child {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

.hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero__btn:first-child:hover {
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.hero__main-title {
  font-family: "Montserrat", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.hero__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;

  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* Обновляем существующие стили */
.hero__title {
  display: none; /* Скрываем старый заголовок */
}

/* Обновленные стили для секции "О нас" */
.about {
  padding: 6rem 5%; /* Уменьшили отступы */
  background-color: var(--bg-light);
}

.about__container {
  max-width: 1350px; /* Уменьшили максимальную ширину */
  margin: 0 auto;
}

.about__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 1px;
}

.about__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.about__description {
  font-size: 1.25rem;
  color: #737373;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* Уменьшили минимальную ширину */
  gap: 1.5rem; /* Уменьшили промежуток */
  margin: 0 auto;
}

.about__card {
  background: var(--bg-light);
  padding: 1.5rem; /* Уменьшили отступы внутри */
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none; /* Убрали границу */
  box-shadow: none; /* Убрали тень */
}

.about__card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Уменьшили промежуток между иконкой и заголовком */
  margin-bottom: 1rem; /* Уменьшили отступ снизу */
}

.about__card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about__card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.about__card-text {
  font-size: 1.15rem;
  font-weight: 530;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.about__card-link {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.about__card-link:hover {
  color: var(--text-dark);
  transform: translateX(3px);
}

.about__card-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.about__card-link:hover::after {
  transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .about {
    padding: 4rem 5%;
  }

  .about__title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .about__description {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .about__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__card {
    padding: 1.5rem;
  }
}

/* Categories Section */
.categories {
  padding: 6rem 5%;
  background-color: var(--bg-light);
}

.categories__container {
  max-width: 1400px;
  margin: 0 auto;
}

.categories__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
}

.categories__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.categories__card {
  background: var(--bg-light);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.categories__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.categories__image {
  height: 240px;
  background-color: #f8f8f8;
  border-radius: 1.5rem 1.5rem 0 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.categories__card:hover .categories__image {
  transform: scale(1.03);
}

.categories__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background-color: rgba(212, 175, 55, 0.1); /* Полупрозрачный золотой фон */
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.categories__card:hover .categories__icon {
  background-color: rgba(212, 175, 55); /* Менее прозрачный при наведении */
  color: var(--text-dark);
  transform: scale(1.05);
}

.categories__content {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.categories__name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  flex-grow: 1;
}

.categories__description {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.categories__link {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.categories__link:hover {
  color: var(--text-dark);
}

.categories__link::after {
  content: "→";
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}

.categories__link:hover::after {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .categories__icon {
    width: 44px;
    height: 44px;
  }

  .categories__name {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .categories__header {
    gap: 0.75rem;
  }

  .categories__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .categories__name {
    font-size: 1.3rem;
  }
}
/* Advantages Section */
.advantages {
  padding: 6rem 5%;
  background-color: var(--bg-light);
}

.advantages__container {
  max-width: 1300px;
  margin: 0 auto;
}

.advantages__subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.advantages__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.advantages__description {
  font-size: 1.25rem;
  color: #737373;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.advantages__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.advantages__item {
  display: flex;
  gap: 1.5rem;
}

.advantages__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  background-color: rgba(212, 175, 55);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.advantages__item:hover .advantages__icon {
  color: var(--text-dark);
  background-color: rgba(212, 175, 55);
  transform: scale(1.05);
}

.advantages__content {
  flex: 1;
}

.advantages__item-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}

.advantages__item-text {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .advantages__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .advantages__icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 768px) {
  .advantages {
    padding: 4rem 5%;
  }

  .advantages__title {
    font-size: 2.25rem;
  }

  .advantages__description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }

  .advantages__list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .advantages__item {
    gap: 1.25rem;
  }

  .advantages__icon {
    width: 40px;
    height: 40px;
  }

  .advantages__item-title {
    font-size: 1.2rem;
  }
}

/* Reviews Section */
.reviews {
  padding: 6rem 5%;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.reviews__container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.reviews__title {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.reviews__subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  line-height: 1.6;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.reviews__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
  margin: 0 auto 3rem;
  width: 100%;
  overflow: hidden;
}

.reviews__slide {
  position: absolute;
  width: 80%;
  max-width: 600px;
  background: var(--bg-light);
  padding: 3rem 2.5rem 2.5rem;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(-50%) scale(0.9);
  z-index: 1;
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  left: 50%;
}

.reviews__slide.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.reviews__slide.prev,
.reviews__slide.next {
  opacity: 0;
}

.reviews__slide.prev {
  left: 25%;
  transform: translateX(-50%) scale(0.9);
}

.reviews__slide.next {
  left: 75%;
  transform: translateX(-50%) scale(0.9);
}

.reviews__client-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f5f5f5;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.reviews__slide.active .reviews__client-photo {
  border-color: rgba(212, 175, 55, 0.4);
}

.reviews__client-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.reviews__client-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.reviews__client-position {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text-medium);
  font-style: italic;
}

.reviews__rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.reviews__star {
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.reviews__text {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  font-style: italic;
  position: relative;
  padding-bottom: 1.5rem;
}

.reviews__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.reviews__arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.reviews__arrow:hover {
  background-color: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.reviews__arrow::before {
  content: "";
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.reviews__arrow--prev::before {
  transform: rotate(-135deg);
  margin-right: -4px;
}

.reviews__arrow--next::before {
  transform: rotate(45deg);
  margin-left: -4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews__slide {
    width: 90%;
    padding: 2.5rem 2rem 2rem;
  }

  .reviews__slide.prev,
  .reviews__slide.next {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 4rem 5%;
  }

  .reviews__title {
    font-size: 2.25rem;
  }

  .reviews__subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }

  .reviews__slider {
    min-height: 450px;
  }

  .reviews__slide {
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
  }

  .reviews__slide::before {
    width: 100px;
    height: 50px;
  }

  .reviews__client-photo {
    width: 80px;
    height: 80px;
  }

  .reviews__client-name {
    font-size: 1.3rem;
  }

  .reviews__text {
    font-size: 1rem;
  }

  .reviews__arrow {
    width: 48px;
    height: 48px;
  }

  .reviews__slide.prev,
  .reviews__slide.next {
    opacity: 0;
  }
}
