* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #3b8df2; /* Основной цвет (например, синий) */
  --header-color: #1a2149; /* Цвет заголовка (например, тёмно-синий) */
  --text-color: #454b6d; /* Основной цвет текста (тёмно-серый) */
  --white: #ffffff; /* Белый */
  --red: #ee6673; /* Красный */
  --green: #5ba87d; /* Зелёный */
  --violet: #6b3cc8; /* Фиолетовый */
}

@font-face {
  font-family: "Vela Sans";
  src:
    url("fonts/VelaSans-Regular.woff2") format("woff2"),
    url("fonts/VelaSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Vela Sans", sans-serif !important;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  height: auto;
  background-color: #d4e7f5 !important;
}

.main-header {
  width: 100%;
  padding: 1.5rem; /* 24px */
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-container {
  width: 80%; /* Или фиксированная ширина, например, max-width: 1200px; */
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8); /* Полупрозрачный белый */
  border-radius: 0.5rem; /* 8px */
  padding: 0.75rem 1.25rem; /* 12px 20px */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
  display: flex;
  justify-content: space-between;
  align-items: center;

  .header_btn {
    cursor: pointer;
    width: 60px;
    height: 60px;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s all;

    &:hover {
      opacity: 0.8;
      scale: 0.9;
    }
  }

  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--header-color);
    font-weight: bold;
    font-size: 1.25rem; /* 20px */
  }

  .logo-img {
    width: 110px;
    height: 90px;
  }

  .logo-text {
    color: #333;
    font-size: 1.25rem; /* 20px */
  }

  .nav-links {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-links li {
    margin-left: 2rem; /* 32px */
  }

  .nav-item {
    text-decoration: none;
    color: var(--header-color);
    font-weight: 600;
    font-size: 1.125rem; /* 18px */
    transition: color 0.3s ease;
  }

  .nav-item:hover {
    color: var(--main-color); /* Пример синего при наведении */
  }

  .nav-item.active {
    color: var(--main-color);
  }
}

.send-form {
  .btn-toggle {
    width: 350px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .btn {
      width: 170px;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px 30px;
      border: 2px solid var(--main-color);
      border-radius: 100px;
      transition: 0.3s all;
      color: var(--text-color);

      &:hover {
        background-color: transparent;
        opacity: 0.8;
        border: 2px solid var(--main-color);
      }
    }

    .btn.active {
      background-color: var(--main-color);
      color: var(--white);
    }
  }
}

.footer {
  width: 90%;
  height: 60vh;
  border-radius: 8px;
  background-color: var(--white); /* Белый фон футера */
  padding: 80px 100px; /* Отступы внутри футера */
  border-top: 1px solid var(--border-color); /* Верхняя граница */
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05); /* Легкая тень сверху */
  margin-top: 50px;
  margin-bottom: 50px; /* Прижать футер к низу */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;

  h2 {
    font-size: 40px;
    font-weight: 600;
    column-rule-color: var(--header-color);
  }

  .content {
    width: 100%;
    height: 80%;
    margin-top: 50px;

    .contacts-header {
      font-size: 32px; /* Размер заголовка "Контакты" */
      color: var(--header-color);
      margin-bottom: 40px; /* Отступ под заголовком */
      font-weight: 600;
    }

    .contacts-grid {
      display: grid;
      grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
      ); /* 4 колонки, адаптивные */
      gap: 30px; /* Отступ между ячейками сетки */
    }

    .contact-column {
      display: flex;
      flex-direction: column;
      gap: 20px; /* Отступ между элементами внутри колонки */
    }

    .contact-column h4 {
      font-size: 16px; /* Размер подзаголовка колонки */
      color: var(--text-color); /* Цвет подзаголовка */
      margin: 0;
      font-weight: 500;
    }

    .contact-item {
      display: flex;
      align-items: center;
    }

    .contact-item .icon-wrapper {
      background-color: var(--main-color); /* Фон иконки */
      border-radius: 50%; /* Круглая форма */
      width: 32px; /* Размер круга */
      height: 32px; /* Размер круга */
      display: flex;
      justify-content: center;
      align-items: center;
      margin-right: 12px; /* Отступ справа от круга */
      flex-shrink: 0; /* Не сжимать */
    }

    .contact-item .icon-wrapper i,
    .contact-item .icon-wrapper svg {
      color: var(--white); /* Цвет иконки */
      font-size: 16px; /* Размер иконки */
    }

    .contact-item a,
    .contact-item span {
      font-size: 14px; /* Размер шрифта текста ссылки/спана */
      color: var(--main-color); /* Цвет ссылки/текста */
      text-decoration: none;
      transition: color 0.2s ease;
      cursor: pointer;
    }

    .contact-item a:hover {
      transition: 0.3s all;
    }

    /* Стиль для графа работы */
    .schedule-item {
      display: flex;
      margin-bottom: 8px; /* Отступ между строками расписания */
    }
    .schedule-item:last-child {
      margin-bottom: 0;
    }

    .schedule-item .day {
      font-size: 14px;
      color: var(--main-color); /* Цвет дней недели */
      margin-right: 5px;
      white-space: nowrap; /* Чтобы день не переносился */
    }
    .schedule-item .time {
      font-size: 14px;
      color: var(--main-color); /* Цвет времени */
    }
    .schedule-item .weekend {
      color: #ff0000; /* Красный цвет для выходных */
    }

    /* Кнопка подписки */
    .subscribe-button {
      display: inline-flex; /* Используем inline-flex для кнопки и стрелки */
      align-items: center;
      padding: 12px 20px; /* Отступы внутри кнопки */
      border: 1px solid var(--main-color); /* Граница кнопки */
      border-radius: 8px; /* Скругление кнопки */
      color: var(--main-color); /* Цвет текста кнопки */
      background-color: var(--white); /* Фон кнопки */
      text-decoration: none;
      font-size: 14px; /* Размер шрифта кнопки */
      font-weight: 500;
      transition:
        background-color 0.2s ease,
        color 0.2s ease;
    }

    .subscribe-button i {
      margin-left: 10px; /* Отступ для иконки стрелки */
      font-size: 16px;
      transition: color 0.2s ease;
    }

    .subscribe-button:hover {
      background-color: var(--main-color);
      color: var(--white);
    }
    .subscribe-button:hover i {
      color: var(--white);
    }
  }
}

.footer-bottom {
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  column-rule-color: var(--text-color);
  transform: translateY(50px);
}
