/* Новые стили для главной страницы */

/* Импорт шрифтов */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1c1c1c;
  background-color: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
}

/* Дополнительная защита от горизонтальной прокрутки */
html {
  overflow-x: hidden;
  max-width: 100%;
}

/* Исправление для всех элементов */
* {
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #6a7e9f 0%, #5a6b8a 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 126, 159, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 126, 159, 0.4);
}

.btn--secondary {
  background: #f8f9fa;
  color: #1c1c1c;
  border: 2px solid #e9ecef;
}

.btn--secondary:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

/* Заголовки секций */
.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #6a7e9f;
  line-height: 1.2;
}

.title-accent {
  color: #6a7e9f;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #6c757d;
  margin-bottom: 50px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Умная шапка - скрытие на десктопе */
@media (min-width: 901px) {
  .header__nav-close {
    display: none;
  }

  .header__nav-contacts {
    display: none;
  }

  .header__mobile-contacts {
    display: none;
  }

  /* Показываем десктопную версию на десктопе */
  .results__benefits-desktop {
    display: flex;
  }

  /* Показываем десктопный текст на десктопе */
  .results__text {
    display: block;
  }

  .header.header--collapsed {
    transform: translateY(-10%);
  }

  .header.header--collapsed .header__top,
  .header.header--collapsed .header__info,
  .header.header--collapsed .header__contacts {
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .header.header--collapsed .header__nav {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
  }

  .header.header--collapsed .header__logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .header.header--collapsed .header__logo:hover {
    opacity: 1;
  }

  /* Отключаем показ по hover, управление только скроллом */
  .header:hover {
    transform: none;
  }
  .header:hover .header__top,
  .header:hover .header__info,
  .header:hover .header__contacts {
    opacity: inherit;
    visibility: inherit;
  }
}

.header__top {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo img {
  height: 60px !important;
  width: auto;
  transition: height 0.3s ease;
}

.header__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header__schedule {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #6c757d;
}

.header__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.header__social p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.header__cart {
  position: relative;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #1c1c1c;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cart-link:hover {
  background: #e9ecef;
  transform: scale(1.05);
}

.cart-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.header__contacts p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.header__contacts a {
  font-size: 17px;
  font-weight: 600;
  color: #d2afa0;
  text-decoration: none;
}

.call-back-btn {
  background: none;
  border: none;
  color: #4a90e2;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header__menu-btn:hover {
  background: #f8f9fa;
}

.header__menu-btn span {
  width: 25px;
  height: 3px;
  background: #1c1c1c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Навигация */
.header__nav {
  padding: 15px 0;
  background: white;
  /* Навигация всегда видима */
  display: block;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

/* Скрываем верхнюю часть хедера по умолчанию на десктопе */
@media (min-width: 901px) {
  .header__top {
    transition: all 0.3s ease;
  }

  .header.header--collapsed .header__top {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}

.nav {
  display: flex;
  list-style: none;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #4a90e2;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 30px;
  overflow: hidden;
  margin-top: 120px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.hero__title span {
  font-size: 48px;
  color: #6a7e9f;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.hero__subtitle {
  font-size: 20px;
  color: #6c757d;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero__cta-text {
  font-size: 16px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: #f8f9fa;
}

.stats__grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats__item {
  text-align: center;
  padding: 30px 20px;
  background: #e8f4fd;
  border-radius: 8px;
  flex: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stats__item:hover,
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stats__number {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1;
}

.stats__text {
  font-size: 14px;
  color: #333333;
  line-height: 1.3;
  font-weight: 400;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  /* background: #f8f9fa; */
}

.advantages__carousel {
  position: relative;
  margin-top: 50px;
}

.advantages__carousel .swiper-wrapper {
  align-items: stretch;
}

.advantages__carousel .swiper-slide {
  height: auto;
}

.advantage-card {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(107, 127, 159, 0.44);
  text-align: left;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1c1c1c;
  overflow: hidden;
}

.advantage-card__blur {
  display: none;
}

.advantage-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.advantage-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 50%;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #6a7e9f;
}

.advantage-card p {
  color: #1c1c1c;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.advantage-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #6a7e9f;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 10px 0;
}

.advantage-card__btn:hover {
  color: #28a745;
  transform: translateX(5px);
}

.advantage-card__btn svg {
  transition: transform 0.3s ease;
}

.advantage-card__btn svg path {
  fill: #6a7e9f;
  transition: fill 0.3s ease;
}

.advantage-card__btn:hover svg {
  transform: translateX(5px);
}

.advantage-card__btn:hover svg path {
  fill: #5a6b8a;
}

/* Слайдер элементы управления */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #f8f9fa;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev-btn {
  left: -20px;
}

.slider-next-btn {
  right: -20px;
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* About Section */
.about {
  padding: 80px 0;
  position: relative;
}

.about__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.about__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__subtitle {
  font-size: 20px;
  color: #1c1c1c;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 400;
}

.about__subtitle span {
  color: #6a7e9f;
  font-weight: 600;
}

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

.about__description p {
  font-size: 18px;
  color: #1c1c1c;
  line-height: 1.7;
}

.about__description span {
  font-size: 16px;
  color: #666666;
  font-style: italic;
  line-height: 1.6;
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Stats & Certificates Section */
.stats-certificates {
  padding: 60px 0;
  background: #f8f9fa;
}

.stats-certificates__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.stats {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex: 1;
  margin-right: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #e8f4fd;
  border-radius: 8px;
  flex: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-text {
  font-size: 14px;
  color: #333333;
  line-height: 1.3;
  font-weight: 400;
}

.stat-text strong {
  color: #1c1c1c;
  font-weight: 600;
}

.certificates {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}

.certificates .swiper-wrapper {
  align-items: center;
}

.certificates .swiper-slide {
  text-align: center;
}

.certificates .swiper-slide img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.certificates .swiper-slide a {
  display: block;
  text-decoration: none;
}

.certificates .swiper-slide img:hover {
  transform: scale(1.05);
}

.certificates .swiper-pagination {
  position: relative;
  margin-top: 20px;
  bottom: auto;
  top: auto;
}

.certificates .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #6a7e9f;
  opacity: 0.3;
  margin: 0 4px;
}

.certificates .swiper-pagination-bullet-active {
  background: #6a7e9f;
  opacity: 1;
  transform: scale(1.2);
}

.certificates .slider-btn {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificates .slider-prev-btn {
  left: -20px;
}

.certificates .slider-next-btn {
  right: -20px;
}

/* Requests Section */
.requests {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.requests::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.requests .container {
  position: relative;
  z-index: 2;
}

.requests__subtitle {
  font-size: 18px;
  text-align: center;
  color: white;
  margin-bottom: 50px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.requests__subtitle span {
  color: #6a7e9f;
  font-weight: 600;
}

.requests__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.request-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.request-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.request-card__img {
  height: 200px;
  overflow: hidden;
}

.request-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.request-card:hover .request-card__img img {
  transform: scale(1.1);
}

.request-card__content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.request-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #6a7e9f;
  line-height: 1.3;
}

.request-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.request-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.request-card__link {
  color: #6a7e9f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.request-card__link:hover {
  color: #5a6b8a;
}

.request-card__link span {
  display: block;
  line-height: 1.3;
}

/* Results Section */
.results {
  padding: 30px 0;
  background-image: url('/image/bg001.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.results .container {
  position: relative;
  z-index: 2;
}

.results__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  grid-template-areas: 'image text';
}

.results__text {
  color: white;
  grid-area: text;
}

.results__text h2 {
  color: #ffffff;
}

.results__subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.results__benefits-desktop {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Мобильный заголовок */
.results__mobile-header {
  display: none;
}

/* Скрываем мобильную карусель на десктопе */
.results__benefits-mobile {
  display: none;
}

/* Показываем десктопную версию на десктопе */
.results__benefits-desktop {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-benefit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-benefit:last-child {
  border-bottom: none;
}

.result-benefit__icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.result-benefit__text {
  font-size: 16px;
  font-weight: 500;
  color: white;
  line-height: 1.4;
}

.results__image {
  text-align: center;
  grid-area: image;
}

.results__image {
  position: relative;
}

.results__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: rgba(106, 126, 159, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  z-index: -1;
}

.results__image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card--featured {
  background: linear-gradient(135deg, #6a7e9f 0%, #5a6b8a 100%);
  color: white;
  transform: scale(1.05);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #6a7e9f;
}

.pricing-card--featured h3 {
  color: white;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.pricing-card--featured li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing__price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #6a7e9f;
}

.pricing-card--featured .pricing__price {
  color: white;
}

.pricing-card--featured .btn--primary {
  background: white;
  color: #6a7e9f;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.pricing-card--featured .btn--primary:hover {
  background: #f8f9fa;
  color: #5a6b8a;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Download Section */
.download {
  padding: 80px 0;
  background: #f8f9fa;
}

.download__text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #6a7e9f;
  line-height: 1.2;
}

.download__text > p {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 10px;
  line-height: 1.5;
}

.download__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #1c1c1c;
  line-height: 1.4;
}

.download__question {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.download__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.download__text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #6a7e9f;
}

.download__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #6a7e9f;
}

.download__question {
  font-size: 18px;
  margin-bottom: 20px;
  color: #6c757d;
}

.download__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 450px;
  margin-left: 20px;
}

.download__select,
.download__input {
  padding: 18px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  background: white;
  color: #1c1c1c;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.download__select:focus,
.download__input:focus {
  outline: none;
  border-color: #6a7e9f;
  box-shadow: 0 4px 12px rgba(106, 126, 159, 0.15);
  transform: translateY(-1px);
}

.download__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236a7e9f' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 45px;
}

.download__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
  background: linear-gradient(135deg, #6a7e9f 0%, #5a6b8a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 126, 159, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 126, 159, 0.4);
}

.download__btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.download__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #6c757d;
  cursor: pointer;
  line-height: 1.4;
  margin-top: 5px;
}

.download__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #6a7e9f;
  cursor: pointer;
}

.download__checkbox span {
  flex: 1;
}

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

.form-field-label {
  font-size: 16px;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 5px;
}

.form-field-group {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Политика конфиденциальности */
.privacy-policy {
  padding: 80px 0;
  background: #f8f9fa;
}

.privacy-policy__content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-policy__content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #6a7e9f;
  margin-bottom: 10px;
  text-align: center;
}

.privacy-policy__date {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 40px;
}

.privacy-policy__section {
  margin-bottom: 30px;
}

.privacy-policy__section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #6a7e9f;
  margin-bottom: 15px;
}

.privacy-policy__section p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.privacy-policy__section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.privacy-policy__section li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

.privacy-policy__section a {
  color: #6a7e9f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-policy__section a:hover {
  color: #5a6b8a;
  text-decoration: underline;
}

.privacy-policy__footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.privacy-policy__footer p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

/* Попап политики конфиденциальности */
.popup__content--large {
  max-width: 700px;
  max-height: 80vh;
}

.privacy-policy-popup h3 {
  font-size: 24px;
  font-weight: 700;
  color: #6a7e9f;
  margin-bottom: 20px;
  text-align: center;
}

.privacy-policy-popup__content {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.privacy-policy-popup__content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #6a7e9f;
  margin: 20px 0 10px 0;
}

.privacy-policy-popup__content h4:first-child {
  margin-top: 0;
}

.privacy-policy-popup__content p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.privacy-policy-popup__content ul {
  margin: 10px 0 15px 20px;
}

.privacy-policy-popup__content li {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 5px;
}

.privacy-policy-popup__content a {
  color: #6a7e9f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-policy-popup__content a:hover {
  color: #5a6b8a;
  text-decoration: underline;
}

.privacy-policy-link {
  color: #6a7e9f !important;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.privacy-policy-link:hover {
  color: #5a6b8a !important;
  text-decoration: underline;
}

.download__image img {
  width: 120%;
  height: auto;
  border-radius: 12px;
  margin-left: 20px;
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); */
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
}

/* Reviews Images Slider */
.reviews__img-slider {
  margin-top: 50px;
}

.img-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.img-slider__container {
  position: relative;
  padding: 0 60px;
}

.img-slider .swiper-container {
  overflow: hidden;
  border-radius: 12px;
}

.img-slider__slide {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.img-slider__slide:hover {
  transform: scale(1.02);
}

.img-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.img-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.img-slider .slider-btn:hover {
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}

.img-slider .slider-prev-btn {
  left: 0;
}

.img-slider .slider-next-btn {
  right: 0;
}

.img-slider .slider-btn img {
  width: 20px;
  height: 20px;
}

.img-slider .slider-pagination {
  position: absolute !important;
  bottom: -30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 8px;
  z-index: 10;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  min-width: 100px;
}

.img-slider .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: #6a7e9f !important;
  border-radius: 50% !important;
  opacity: 0.3 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.img-slider .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: #6a7e9f !important;
  transform: scale(1.2) !important;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #f8f9fa;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq__question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #1c1c1c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq__question:hover {
  background: #f8f9fa;
}

.faq__icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq__answer {
  max-height: 200px;
}

.faq__answer p {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background-image: url('/image/bg-12.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(255, 255, 255, 0.9); */
  z-index: 1;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta__text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #6a7e9f;
}

.cta__text > p {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 30px;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

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

.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: #1c1c1c;
}

.form-select,
.form-input {
  padding: 18px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  background: white;
  color: #1c1c1c;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #6a7e9f;
  box-shadow: 0 4px 12px rgba(106, 126, 159, 0.15);
  transform: translateY(-1px);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236a7e9f' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 45px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #6c757d;
  cursor: pointer;
  line-height: 1.4;
  margin-top: 5px;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #6a7e9f;
  cursor: pointer;
}

.form-checkbox span {
  flex: 1;
}

.form-checkbox a,
.download__checkbox a {
  color: #6a7e9f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-checkbox a:hover,
.download__checkbox a:hover {
  color: #5a6b8a;
  text-decoration: underline;
}

.cta__social {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 15px;
  text-align: center;
}

.cta__social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* .social-btn--whatsapp {
    background: #25D366;
}

.social-btn--telegram {
    background: #0088cc;
} */

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn img {
  width: 45px;
  height: 45px;
}

.cta__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: #1c1c1c;
  color: white;
  padding: 60px 0 30px;
  position: relative;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__section-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: white;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer__description {
  color: #adb5bd;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 14px;
}

.footer__social {
  margin-top: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* .social-link--telegram {
    background: #0088cc;
}

.social-link--whatsapp {
    background: #25D366;
}

.social-link--instagram {
    background: #E4405F;
}

.social-link--vk {
    background: #4C75A3;
} */

.social-link img {
  width: 45px !important;
  height: 45px !important;
}

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

.meta-notice {
  font-size: 12px;
  color: #6c757d;
  display: block;
  margin-top: 5px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__link {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer__link:hover {
  color: white;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #6a7e9f;
  border-radius: 50%;
  flex-shrink: 0;
  color: white;
}

.contact-details {
  flex: 1;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #6a7e9f;
}

.contact-text {
  color: white;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.contact-label {
  color: #adb5bd;
  font-size: 13px;
  display: block;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copyright {
  color: #adb5bd;
  font-size: 14px;
}

.footer__legal {
  display: flex;
  gap: 30px;
}

.footer__partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 40px;
}

.footer__partner--cherta {
  text-align: center;
  max-width: 200px;
}

.footer__cherta-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.footer__cherta-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer__cherta-caption {
  margin: 8px 0 0;
  font-size: 9px;
  line-height: 1.35;
  color: #adb5bd;
}

.footer__cherta-text-link {
  color: #adb5bd;
  font-size: 9px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer__cherta-text-link:hover {
  color: #ced4da;
  text-decoration: underline;
}

.footer__partner--b17 {
  flex-shrink: 0;
  line-height: 0;
}

.footer__b17 {
  display: block;
  transition: opacity 0.3s ease;
}

.footer__partners .footer__b17 img {
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.footer__partners .footer__b17:hover img {
  opacity: 0.95;
}

.footer__b17:hover {
  opacity: 0.8;
}

/* Кнопка "Наверх" */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #6a7e9f;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(106, 126, 159, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #5a6b8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(106, 126, 159, 0.4);
}

/* Popups */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Модальное окно политики конфиденциальности должно быть поверх других */
#privacy-policy-popup {
  z-index: 3000;
}

.popup.active {
  display: flex;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.popup__content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(106, 126, 159, 0.1);
  margin: 0 auto;
  z-index: 2001;
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s ease;
}

.popup__close:hover {
  color: #1c1c1c;
}

.popup__content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #6a7e9f;
  line-height: 1.2;
  text-align: center;
}

/* Стили для окна cookies */
#cookie-consent-popup .popup__content {
  text-align: center;
}

#cookie-consent-popup .cookie-consent p {
  margin: 0 auto 20px auto;
  max-width: 640px;
  line-height: 1.7;
}

#cookie-consent-popup .cookie-consent a {
  color: #6a7e9f; /* фирменный цвет заголовков */
  text-decoration: underline;
}

#cookie-consent-popup .cookie-consent a:hover {
  color: #4f607f;
}

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

/* Принудительно скрываем клоны nice-select внутри попапов — используем нативный select */
.popup .nice-select {
  display: none !important;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 56px;
  }

  .hero__title span {
    font-size: 36px;
  }

  .section-title {
    font-size: 36px;
    color: #6a7e9f;
  }

  .about__content,
  .cta__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Промежуточный брейкпоинт для планшетов */
@media (max-width: 900px) {
  .hero__title {
    font-size: 48px;
  }

  .hero__title span {
    font-size: 30px;
  }

  .section-title {
    font-size: 32px;
  }

  .container {
    padding: 0 20px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* ПРЕИМУЩЕСТВА РАБОТЫ СО МНОЙ - отображаем по 2 слайда */
  .advantages__carousel .swiper-slide {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
  }

  /* Дополнительная специфичность для Swiper */
  .advantages__carousel.swiper .swiper-wrapper .swiper-slide {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
  }

  .requests__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .results__benefits {
    gap: 20px;
  }

  /* УЖЕ ПОСЛЕ ПЕРВОЙ СЕССИИ - текст на весь экран слева */
  .results__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .results__text {
    text-align: left;
    padding: 0;
  }

  /* СТОИМОСТЬ - меняем текст кнопок на "записаться" */
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-card .btn {
    font-size: 0 !important;
    padding: 12px 20px;
  }

  .pricing-card .btn::before {
    content: 'ЗАПИСАТЬСЯ';
    font-size: 14px;
  }

  /* Третья карточка по центру с отступом сверху */
  .pricing-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
    margin-top: 30px;
  }

  /* ДЛЯ ВАС - форма сверху, картинка снизу */
  .download__content {
    grid-template-columns: 1fr !important;
    gap: 30px;
    align-items: start;
  }

  .download__form {
    max-width: 100%;
    margin-left: 0;
  }

  .download__select,
  .download__input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .download__btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .download__image {
    justify-self: center !important;
    margin-left: 0;
    order: 2;
  }

  .download__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  }

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

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* ЗАПИШИТЕСЬ - центрируем фон по правой стороне */
  .cta {
    background-position: right;
  }

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

  /* ЗАПИШИТЕСЬ - форма на всю ширину */
  .cta__content {
    text-align: center;
  }

  .cta__form {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .cta__social {
    justify-content: center;
    margin-left: 0;
  }

  /* Размытие и затемнение фоновой картинки */
  .cta::before {
    backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.5);
  }

  /* Белый цвет для текста в разделе ЗАПИШИТЕСЬ */
  .cta h2 {
    color: white;
  }

  .cta p {
    color: white;
  }

  .cta label {
    color: white;
  }

  .cta .privacy-policy-link {
    color: white;
    text-decoration: underline;
  }

  .cta__social {
    color: white;
  }

  /* ОБО МНЕ - двухколоночная структура: слева текст, справа фото */
  .about__content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .about__image {
    order: 2;
  }

  .about__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 15px;
  }

  .header__content {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
  }

  .header__info,
  .header__social,
  .header__contacts {
    display: none;
  }

  .header__logo {
    order: 1;
  }

  /* Мобильная контактная информация в шапке */
  .header__mobile-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    order: 2;
    margin-left: 15px;
  }

  .header__cart {
    order: 3;
    margin-left: auto;
    margin-right: 10px;
  }

  .header__menu-btn {
    display: flex;
    order: 4;
  }

  .header__mobile-contact-item {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    line-height: 1.2;
  }

  .header__mobile-phone {
    margin-top: 2px;
  }

  .header__mobile-phone a {
    color: #4a90e2;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
  }

  .header__mobile-phone a:hover {
    color: #2c5aa0;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-90%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    height: 100vh;
    padding-top: 80px;
    overflow-y: auto;
    overflow-x: visible;
    max-width: none;
  }

  .header__nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #1c1c1c;
    z-index: 1000;
  }

  .header__nav-close:hover {
    background: #f8f9fa;
    color: #4a90e2;
  }

  .header__nav-close svg {
    width: 24px;
    height: 24px;
  }

  .header__nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Совместимость: когда родителю .header добавляют .open */
  .header.open .header__nav {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Совместимость: если на сам nav вешается .open (как требует pages.css) */
  .header__nav.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Стили для десктопа - показываем верхнюю часть хедера при наведении */
  @media (min-width: 901px) {
    .header:hover .header__top {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  }

  /* Блокировка скролла при открытом меню */
  body.menu-open {
    overflow: hidden;
  }

  /* Мобильная контактная информация */
  .header__nav-contacts {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e9ecef;
    border-bottom: 3px solid #4a90e2;
    max-width: none;
    overflow-x: visible;
  }

  .header__nav-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #6c757d;
    font-size: 14px;
  }

  .header__nav-contact-icon {
    display: flex;
    align-items: center;
  }

  .header__nav-phone {
    margin-bottom: 15px;
  }

  .header__nav-phone a {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .header__nav-phone a:hover {
    color: #2c5aa0;
  }

  .header__nav-call-btn {
    width: 100%;
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
  }

  .header__nav-call-btn:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
  }

  .nav {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    align-items: center;
    max-width: none;
    overflow-x: visible;
  }

  .nav-link {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: block;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover {
    background: #f8f9fa;
    color: #4a90e2;
  }

  .nav-link.active {
    color: #4a90e2;
    /* background: #f8f9fa; */
  }

  .hero {
    padding-top: 50px;
    min-height: 100vh;
  }

  .hero__content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
  }

  .hero__bg {
    order: 2;
  }

  .hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__title span {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .stats__grid {
    flex-direction: column;
    gap: 20px;
  }

  .stats__item {
    max-width: none;
    min-height: 100px;
  }

  .advantages__carousel .swiper-slide {
    width: 100%;
  }

  .stats-certificates__content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .stats {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .certificates {
    width: 100%;
    max-width: 400px;
    order: -1;
  }

  .certificates .swiper-slide img {
    max-width: 280px;
    margin: 0 auto;
  }

  /* .stats {
        flex-direction: column;
        gap: 20px;
    } */

  .stat-item {
    max-width: none;
  }

  .stat-item {
    padding: 15px;
  }

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

  .results__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    grid-template-areas: 'text' 'image';
  }

  .results__benefits {
    align-items: center;
  }

  .results__benefits-desktop {
    display: none;
  }

  .results__benefits-mobile {
    display: block !important;
    margin-top: 133px;
    margin-bottom: -60px;
    text-align: center;
  }

  .results__mobile-header {
    display: block;
    text-align: center;
    margin-bottom: 30px;
  }

  .results__mobile-header .section-title {
    color: white;
    margin: 0;
  }

  .results__content {
    display: block;
  }

  .results__text {
    display: none !important;
  }

  .results__benefits-mobile .swiper-wrapper {
    align-items: center;
  }

  .results__benefits-mobile .swiper-slide {
    text-align: center;
    padding: 40px;
  }

  .results__benefits-mobile .result-benefit {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    width: 50%;
    margin: auto;
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .results__benefits-mobile .result-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .results__benefits-mobile .result-benefit__icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 auto 12px;
    color: white;
  }

  .results__benefits-mobile .result-benefit__text {
    color: white;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    font-weight: 500;
  }

  .results__benefits-mobile .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
  }

  .results__benefits-mobile .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 5px;
  }

  .results__benefits-mobile .swiper-pagination-bullet-active {
    background: white;
  }

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

  .download__form {
    padding: 30px 20px;
    max-width: none;
    margin-left: 0;
  }

  .download__select,
  .download__input {
    padding: 16px 18px;
    font-size: 15px;
  }

  .download__btn {
    padding: 16px 25px;
    font-size: 15px;
  }

  .download__image img {
    width: 100%;
    margin-left: 0;
  }

  .reviews__img-slider {
    margin-top: 40px;
  }

  .img-slider__container {
    padding: 0 40px;
  }

  .img-slider .slider-btn {
    width: 45px;
    height: 45px;
  }

  .img-slider .slider-btn img {
    width: 18px;
    height: 18px;
  }

  /* Уменьшаем размер карточек слайдера отзывов */
  .img-slider {
    max-width: 800px;
  }

  .img-slider__slide {
    max-width: 280px;
    margin: 0 auto;
  }

  .img-slider__slide img {
    max-height: 200px;
    object-fit: cover;
  }

  .popup__content {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .form-select,
  .form-input {
    padding: 16px 18px;
    font-size: 15px;
  }

  .form-field-label {
    font-size: 15px;
  }

  .cta__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cta__text h2 {
    font-size: 28px;
  }

  .cta__text > p {
    font-size: 16px;
  }

  .slider-btn {
    display: none;
  }

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

  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 15px;
  }
}

/* Новый брейкпоинт для маленьких мобильных устройств */
@media (max-width: 540px) {
  /* ПРЕИМУЩЕСТВА РАБОТЫ СО МНОЙ - выводим по 1 карточке в слайдере */
  .advantages__carousel .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Дополнительная специфичность для Swiper */
  .advantages__carousel.swiper .swiper-wrapper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* ОБО МНЕ - текст сверху, фото снизу */
  .about__content {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
  }

  .about__image {
    order: 2;
  }

  .about__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    object-fit: cover;
    object-position: top;
    max-height: 430px;
  }
}

@media (max-width: 480px) {
  .header__nav {
    padding-top: 70px;
  }

  .nav {
    gap: 12px;
    padding: 15px 0;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px 0;
  }

  .header__logo img {
    height: 50px;
  }

  .header__menu-btn {
    padding: 8px;
  }

  .header__menu-btn span {
    width: 22px;
    height: 2px;
  }

  .header__mobile-contacts {
    margin-right: 8px;
  }

  .header__mobile-contact-item {
    font-size: 10px;
  }

  .header__mobile-phone a {
    font-size: 12px;
  }

  .header__nav-close {
    top: 15px;
    right: 15px;
    padding: 6px;
  }

  .header__nav-close svg {
    width: 20px;
    height: 20px;
  }

  .header__nav-contacts {
    padding: 15px;
    margin-bottom: 25px;
  }

  .header__nav-phone a {
    font-size: 16px;
  }

  .header__nav-call-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__title span {
    font-size: 22px;
  }

  .section-title {
    font-size: 24px;
    color: #6a7e9f;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .stats__number,
  .stat-number {
    font-size: 36px;
  }

  .stats {
    flex-direction: column;
  }

  .stats__item,
  .stat-item {
    padding: 25px 15px;
    max-width: none;
    min-height: 100px;
  }

  .certificates {
    max-width: 350px;
  }

  .certificates .swiper-slide img {
    max-width: 250px;
    margin: 0 auto;
  }

  .stats__text,
  .stat-text {
    font-size: 13px;
  }

  .pricing__price {
    font-size: 28px;
  }

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

  .results__mobile-header .section-title {
    margin-top: 35px;
    width: 100%;
  }

  .results__benefits-mobile .swiper-slide {
    padding: 0px;
  }

  .results__benefits-mobile .result-benefit {
    width: 100%;
  }

  /* Скрываем контакты в мобильной шапке */
  .header__mobile-contacts {
    display: none;
  }

  /* Третья карточка в СТОИМОСТИ на всю ширину */
  .pricing-card:nth-child(3) {
    width: 100%;
  }

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

  .results__benefits {
    gap: 15px;
  }

  .result-benefit {
    gap: 15px;
  }

  .result-benefit__icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .download__form {
    padding: 20px 15px;
    max-width: none;
  }

  .download__select,
  .download__input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .download__btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .download__checkbox {
    font-size: 13px;
  }

  .download__text h2 {
    font-size: 28px;
  }

  .cta__text h2 {
    font-size: 24px;
  }

  .cta__text > p {
    font-size: 14px;
  }

  .form-select,
  .form-input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .form-field-label {
    font-size: 14px;
  }

  .popup__content h3 {
    font-size: 24px;
  }

  .privacy-policy__content {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .privacy-policy__content h1 {
    font-size: 28px;
  }

  .privacy-policy__section h2 {
    font-size: 18px;
  }

  .privacy-policy__section p,
  .privacy-policy__section li {
    font-size: 15px;
  }

  .popup__content--large {
    max-width: 90%;
    margin: 20px auto;
  }

  .privacy-policy-popup h3 {
    font-size: 20px;
  }

  .privacy-policy-popup__content h4 {
    font-size: 16px;
  }

  .privacy-policy-popup__content p,
  .privacy-policy-popup__content li {
    font-size: 13px;
  }

  .download__title {
    font-size: 16px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .faq__question {
    font-size: 16px;
    padding: 15px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer__content {
    gap: 30px;
    padding: 0 15px;
    text-align: center;
  }

  .footer__section-title {
    font-size: 16px;
  }

  .contact-item {
    padding: 12px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link img {
    width: 24px !important;
    height: 24px !important;
  }

  .reviews__img-slider {
    margin-top: 30px;
  }

  .img-slider__container {
    padding: 0 30px;
  }

  .img-slider .slider-btn {
    width: 40px;
    height: 40px;
  }

  .img-slider .slider-btn img {
    width: 16px;
    height: 16px;
  }

  .img-slider .slider-pagination {
    bottom: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    min-width: 80px;
  }

  .img-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .footer__bottom-content {
    padding: 0 15px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Медиа-запрос для очень маленьких экранов */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .header__nav {
    padding-top: 60px;
  }

  .nav {
    gap: 10px;
    padding: 10px 0;
  }

  .nav-link {
    font-size: 15px;
    padding: 10px 0;
  }

  .header__logo img {
    height: 45px;
  }

  .header__menu-btn {
    padding: 6px;
  }

  .header__menu-btn span {
    width: 20px;
    height: 2px;
  }

  .header__content {
    gap: 10px;
  }

  .header__mobile-contacts {
    margin-right: 6px;
  }

  .header__mobile-contact-item {
    font-size: 9px;
  }

  .header__mobile-phone a {
    font-size: 11px;
  }

  .header__nav-close {
    top: 10px;
    right: 10px;
    padding: 5px;
  }

  .header__nav-close svg {
    width: 18px;
    height: 18px;
  }

  .header__nav-contacts {
    padding: 12px;
    margin-bottom: 20px;
  }

  .header__nav-contact-item {
    font-size: 13px;
  }

  .header__nav-phone a {
    font-size: 15px;
  }

  .header__nav-call-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__title span {
    font-size: 18px;
  }

  .section-title {
    font-size: 20px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .stats__number,
  .stat-number {
    font-size: 24px;
  }

  .stats__item,
  .stat-item {
    padding: 15px;
    min-height: 80px;
  }

  .certificates .swiper-slide img {
    max-width: 200px;
    margin: 0 auto;
  }

  .stats__text,
  .stat-text {
    font-size: 12px;
  }

  .pricing__price {
    font-size: 24px;
  }

  .requests__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .results__benefits {
    gap: 12px;
  }

  .result-benefit {
    gap: 12px;
  }

  .result-benefit__icon {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .download__form {
    padding: 15px 10px;
  }

  .download__select,
  .download__input {
    padding: 12px 14px;
    font-size: 13px;
  }

  .download__btn {
    padding: 12px 18px;
    font-size: 13px;
  }

  .download__checkbox {
    font-size: 12px;
  }

  .download__text h2 {
    font-size: 24px;
  }

  .cta__text h2 {
    font-size: 20px;
  }

  .cta__text > p {
    font-size: 13px;
  }

  .form-select,
  .form-input {
    padding: 12px 14px;
    font-size: 13px;
  }

  .form-field-label {
    font-size: 13px;
  }

  .popup__content h3 {
    font-size: 20px;
  }

  .privacy-policy__content {
    padding: 20px 15px;
    margin: 15px auto;
  }

  .privacy-policy__content h1 {
    font-size: 24px;
  }

  .privacy-policy__section h2 {
    font-size: 16px;
  }

  .privacy-policy__section p,
  .privacy-policy__section li {
    font-size: 14px;
  }

  .popup__content--large {
    max-width: 95%;
    margin: 15px auto;
  }

  .privacy-policy-popup h3 {
    font-size: 18px;
  }

  .privacy-policy-popup__content h4 {
    font-size: 14px;
  }

  .privacy-policy-popup__content p,
  .privacy-policy-popup__content li {
    font-size: 12px;
  }

  .download__title {
    font-size: 14px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq__question {
    font-size: 14px;
    padding: 12px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer__content {
    gap: 20px;
    padding: 0 10px;
    text-align: center;
  }

  .footer__section-title {
    font-size: 14px;
  }

  .contact-item {
    padding: 10px;
  }

  .contact-icon {
    width: 30px;
    height: 30px;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }

  .social-link img {
    width: 20px !important;
    height: 20px !important;
  }

  .reviews__img-slider {
    margin-top: 20px;
  }

  .img-slider__container {
    padding: 0 20px;
  }

  .img-slider .slider-btn {
    width: 35px;
    height: 35px;
  }

  .img-slider .slider-btn img {
    width: 14px;
    height: 14px;
  }

  .img-slider .slider-pagination {
    bottom: -20px !important;
  }

  .img-slider .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
  }

  .footer__bottom-content {
    padding: 0 10px;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
}

/* Скрываем карточки после 4-й на мобильных */
@media (max-width: 900px) {
  .requests__grid .request-card:nth-child(n + 5) {
    display: none;
  }

  .requests__show-more {
    display: block;
    text-align: center;
    margin-top: 40px;
  }

  .show-more-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #6a7e9f;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

  .show-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
  }

  /* Скрываем FAQ элементы после 4-го на мобильных */
  .faq__grid .faq-item:nth-child(n + 5) {
    display: none;
  }

  .faq__show-more {
    display: block;
    text-align: center;
    margin-top: 40px;
  }
}

/* Скрываем кнопку на десктопе */
@media (min-width: 901px) {
  .requests__show-more {
    display: none;
  }

  .faq__show-more {
    display: none;
  }
}

@media (min-width: 901px) {
  /* Форсируем горизонтальное меню на десктопе, перекрывая pages.css */
  .header .header__nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
    padding: 15px 0 !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  .header .header__nav .nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 30px !important;
  }

  .header .header__nav .nav-link {
    background: transparent !important;
    border: none !important;
    color: #1c1c1c !important;
    padding: 0 !important;
    min-width: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header .header__nav-close {
    display: none !important;
  }
}

/* Унификация типографики меню на всех страницах */
.header .nav-link {
  font-size: 18px !important;
  /* font-weight: 600 !important; */
  line-height: 1.2 !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .header .nav-link {
    font-size: 20px !important;
    padding: 8px 0 !important;
  }
}

/* На внутренних страницах (body.page) полностью отключаем схлопывание */
@media (min-width: 901px) {
  body.page .header {
    transform: none !important;
  }
  body.page .header:hover {
    transform: none !important;
  }
  body.page .header__top {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    padding: 15px 10px !important;
    margin: 0 !important;
  }
}

/* Выравнивание шапки по контейнеру на внутренних страницах (мобайл) */
@media (max-width: 900px) {
  .header__top > .container,
  .header__nav > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 auto !important;
  }

  /* На внутренних страницах фон шапки ограничен контейнером */
  body.page .header {
    background: transparent !important;
    border-bottom: none !important;
  }
  body.page .header__top > .container {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
  }
}

@media (max-width: 320px) {
  .header__top > .container,
  .header__nav > .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Мобильный отступ под фиксированную шапку на внутренних страницах */
@media (max-width: 900px) {
  body.page .header {
    background: rgba(
      255,
      255,
      255,
      0.95
    ) !important; /* перекрываем фон героя под шапкой */
    border-bottom: 1px solid #e9ecef !important;
  }
  body.page main {
    padding-top: 72px !important; /* высота шапки на мобайле */
  }
}
