:root {
  --primary-color: #fca100;
  /* Основной цвет - приглушённый голубой */
  --primary-dark: #1a1a1a;
  /* Тёмный вариант */
  --primary-light: #ffcb02;
  /* Светлый вариант */
  --primary-extra-light: #F3B914;
  /* Очень светлый */
  --background-light: #faf8f2;
  /* Фоновый светлый */
  --background-accent: #f2f2f2;
  /* Голубоватый фон */
  --text-color: #000000;
  /* Основной цвет текста */
  --text-light: #7a7a7a;
  /* Светлый текст */
  --white: #ffffff;
  /* Чистый белый */
  --border-color: #dae1e7;
  /* Цвет границ */
  --shadow-color: rgba(74, 126, 185, 0.1);
  /* Цвет теней */
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  width: 360px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-size: 0px;
  padding: 10px 10px 0;
}

.logo img {
  width: 100%;
  object-fit: cover;
}

.block {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.block:last-child {
  border-bottom: none;
}

h1,
h2,
h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-color);
}

.about-company {
  background-color: var(--primary-dark);
  padding: 2rem 3rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-description {
  display: flex;
  flex-direction: column;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: var(--white);
}

.about-text h1 {
  font-size: 2rem;
  color: var(--primary-color);
}

.about-subtitle {
  text-transform: uppercase;
  width: 450px;
  line-height: 1.1;
  font-weight: 900;
  font-size: 3rem;
  color: var(--primary-color);
}

.about-text p.about-accent {
  margin-top: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
}

.about-text span.about-accent {
  font-weight: 500;
  color: var(--primary-color);
}

.company-logo {
  width: 200px;
  height: 200px;
  background-color: var(--primary-color);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-img {
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
  object-position: center;
  max-width: none;
  max-height: none;
}


.requisites {
  background-color: var(--background-light);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.requisites p {
  margin-bottom: 0.8rem;
}

.payment-notes {
  display: flex;
  gap: 1.5rem;
}

.payment-column {
  flex: 1;
  background-color: var(--primary-light);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.payment-column:hover {
  transform: translateY(-5px);
}

.payment-column h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.payment-column p {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}

.user-agreement {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  line-height: 1.7;
}

.user-agreement h3 {
  margin: 1.5rem 0 1rem;
  color: var(--primary-dark);
}

.user-agreement p {
  margin-bottom: 0.8rem;
}

footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer p {
  margin-bottom: 0.5rem;
  color: var(--white);
}

@media (max-width: 768px) {

  .about-company,
  .payment-notes {
    flex-direction: column;
  }

  .company-logo {
    margin-bottom: 2rem;
  }

  .payment-column {
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }

  .requisites,
  .user-agreement {
    padding: 1.5rem;
  }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
  ;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.main-nav a:hover:after {
  width: 100%;
}


html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}