:root {
  --blue: #28415f;
  --orange: #FBB710;
  --dark: #000;
  --gray: #efefef;
  --light: #fff;
  --warning: #FF5733;
  --green: #74E5A4;
}

/* Сброс стилей и базовые настройки */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  background: var(--gray);
  color: var(--green);
  font-size: 16px;
  font-weight: 400;
  min-height: 100%;
  line-height: 1.7;
}

/* Стили для ссылок */
a {
  text-decoration: none;
  cursor: pointer;
}

/* Стили для списков */
ul, ol, li {
  list-style: none;
}

/* Заголовки */
h2 {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

/* Обертка для контента */
.wrapper {
  max-width: 1080px;
  padding: 0 15px;
  margin: 0 auto;
}

/* Навигация */
.nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  font-size: 1.1em;
  flex-wrap: wrap;
}

.nav > li {
  margin: 0 10px 10px;
}

.nav li a {
  color: var(--blue);
  transition: color 0.2s ease;
}

.nav li a:hover {
  color: var(--orange);
}

/* Заголовок */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--light);
  padding: 4px 0;
}

.header__body {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 50px;
  padding: 10px 0;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
/* Контейнеры секций */
.section-container, .full-section-container, .three-part-container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.section-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 700px;
}

/* Мобильная и десктопная верстка */
@media (min-width: 768px) {
  .three-part-container {
    flex-direction: row;
  }
  .three-part-container > div {
    flex: 1 1 33.333%;
    max-width: 33.333%;
    background: #e0e7ff;
    border-radius: 12px;
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-align: center;
    color: #3730a3;
  }
}

@media (min-width: 1024px) {
  .section-container, .full-section-container {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
  .image, .section-text {
    flex: 1 1 50%;
    max-width: 50%;
  }
}
