/* ==================== ОБЩИЕ СТИЛИ И СБРОС ==================== */
/* Сброс стилей для всех элементов */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}
/* Убираем маркеры у списков */
ul {
  list-style: none;
}
/* Стили для кнопок */
button {
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}
/* Стили для полей ввода */
input {
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}
/* Стили для текстовых областей */
textarea {
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}
/* Стили для ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* ==================== БАЗОВЫЕ ШАБЛОНЫ ==================== */
/* Основной контейнер для центрирования контента */
.container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
/* Отступ между секциями */
.section {
  padding-bottom: 80px;
}
/* Фон основной области */
.main, .footer{
  background: rgba(249, 249, 249, 1);
}
/* Заголовок секции */
.section__title {
  font-size: 50px;
  font-weight: 800;
  color: #80b3ff;
}
/* Декоративная часть заголовка (черный текст) */
.section__title-decor {
  color: #000;
}
/* Стиль для ссылок "Смотреть все" */
.look-all {
  color: rgb(128, 179, 255);
  font-size: 25px;
  font-weight: 500;
  margin-right: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.look-all svg {
  max-width: 50px;
  width: 100%;
}
/* Шапка секции с заголовком и ссылкой */
.section__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
}

/* ХЛЕБНЫЕ КРОШКИ */
.crumbs {
  margin-bottom: 15px;
  padding-bottom: 0;
}
.crumbs__container {
  padding-top: 30px;
}
.crumbs__list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.crumbs__item {
  color: #c6c2fe;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}
.crumbs__item:hover{
  text-decoration: underline;
}
.crumbs__item::after {
  content: url('../assets/svg/Arrow-crumbs.svg');
}
.crumbs__item:last-child::after {
  content: none;
}

/* ==================== HEADER (ШАПКА) ==================== */
/* Основной блок шапки */
.header {
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.4);
  background: #fff;
  padding: 11px 0 22px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
/* Контейнер шапки с уменьшенными отступами */
.header__container {
 max-width: 1700px;
}
/* Блок с контактной информацией */
.header__text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
/* Стили для номеров телефонов */
.header__phones,
.header__number {
  color: rgba(128, 179, 255, 1);
  font-size: 25px;
  font-weight: 800;
  line-height: 53px;
}
/* Заголовок "Бесплатно по РФ" */
.header__title {
  color: rgba(128, 179, 255, 1);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
}
/* Декоративная линия-разделитель */
.header__border {
  border: 2px solid rgba(198, 194, 254, 1);
}
/* Основная навигация */
.nav {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Логотип */
.header__logo {
  transition: all 0.7s ease;
  max-width: 180px;
  width: 100%;
}
/* Эффект навидения */
.header__logo:hover {
  transform: translateY(5px);
}
/* Список пунктов меню */
.nav__list {
  display: flex;
  align-items: center;
  gap: 50px;
}
/* Стиль для активного пункта меню (Главная) */
.nav__link.active {
  color: black;
}
/* Стиль для обычных пунктов меню */
.nav__link {
  color: rgba(198, 194, 254, 1);
  font-size: 20px;
  font-weight: 500;
  line-height: 53px;
  transition: all 0.5s ease;
  display: inline-block;
}
.dropdown {
  position: relative;
}
/* При наведении на страницу */
.dropdown__toggle {
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
}
.dropdown__toggle:hover .nav__link,
.nav__link:hover {
  color: black;
}
.dropdown__toggle-img {
  padding: 0 0 0 10px;
  transition: transform 0.7s ease;
}
.dropdown__menu {
  display: none;
  position: absolute;
  z-index: 20;
  top: 55px;
  left: -150px;
  width: 450px;
  flex-direction: column;
  gap: 10px;
}
.dropdown__menu-link {
  color: rgba(198, 194, 254, 1);
  font-size: 20px;
  font-weight: 500;
  transition: all 0.4s ease;
  box-shadow: 0px 6px 12px 1px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 20px;
  text-align: center;
}
.dropdown__menu-link:hover {
  background: #c6c2fe;
  color: #000;
}
.open {
  display: flex;
}
.img__click {
  transform: rotate(180deg);
  margin-left: 10px;
}

/* ==================== FOOTER (ПОДВАЛ) ==================== */
.footer {
  padding: 60px 50px 80px 50px;
  text-align: center;
  background-color: transparent;
}
.footer__title {
  font-size: 30px;
}
.footer__nav {
  margin-top: 20px;
  font-size: 24px;
}
.footer__link {
  text-decoration: underline;
}
