:root {
  --color-primary: #F53C0D;
  --color-secondary: #23292F;
  --color-accent: #F5A623;
  --color-bg: #101617;
  --color-text: #F7F8FA;
  --color-footer-bg: #181C1F;
  --color-footer-text: #FFFFFF;
  --color-btn-border: #fff;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-weight: 400;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-weight: 600;
  margin-top: 0;
  color: #fff;
}

p,
ul,
ol,
table {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #181C1F;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 1200px;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: #F53C0D;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  margin-left: 0;
  margin-right: 20px;
  box-shadow: none;
}

.btn--primary {
  background: #FF2C0D;
  border: 2px solid #FF2C0D!important;
  color: #fff;
  border-radius: 16px;
  border: none;
  box-shadow: 0 0 0 0 rgba(255, 44, 13, 0.7);
  animation: btn-pulse 1.5s infinite;
}

.btn--primary:hover,
.btn--primary:focus {
  background: #ff4d2e;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 44, 13, 0.12);
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 44, 13, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 44, 13, 0.0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 44, 13, 0.0);
  }
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #FF2C0D;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  box-shadow: none;
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: rgba(255, 44, 13, 0.08);
  color: #fff;
  border-color: #FF2C0D;
  background-color: #FF2C0D;
}

.section .section__actions {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

.nav__close {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}

.main-content {
  padding-top: 80px;
  padding-bottom: 40px;
  min-height: 100vh;
}

.section {
  background: rgba(35, 41, 47, 0.95);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 32px;
  padding: 40px 32px;
}

/* === Таблицы === */
.table-wrapper {
  overflow-x: auto;
  margin: 16px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 320px;
  background: rgba(24, 28, 31, 0.95);
  color: #fff;
}

td,
th {
  border: 1px solid #23292F;
  padding: 10px 16px;
  text-align: left;
  font-size: 1rem;
}

tr:first-child td,
tr:first-child th {
  background: #f53c0d;
  color: #ffffff;
  font-weight: 700;
}
/* Мобильная адаптация */
        @media (max-width: 768px) {
            .table-wrapper {
                margin: 12px 0;
                border-radius: 8px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            }
            
            table {
                min-width: 100%;
                font-size: 0.9rem;
            }
            
            td, th {
                padding: 12px 10px;
                font-size: 0.9rem;
            }
            
            /* Улучшение читаемости на маленьких экранах */
            tr:nth-child(even) {
                background: rgba(35, 41, 47, 0.4);
            }
            
            /* Увеличение области прокрутки для мобильных */
            .table-wrapper::-webkit-scrollbar {
                height: 8px;
            }
            
            .table-wrapper::-webkit-scrollbar-thumb {
                background: #f53c0d;
                border-radius: 4px;
            }
        }

        @media (max-width: 480px) {
            td, th {
                padding: 10px 8px;
                font-size: 0.85rem;
            }
            
            /* Специальная адаптация для очень маленьких экранов */
            table {
                min-width: 280px;
            }
            
            .table-wrapper {
                margin: 8px 0;
            }
            }

/* === Footer === */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 32px 0 24px 0;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #F53C0D;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__link {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--color-primary);
}

.faq-block {
  background: rgba(35, 41, 47, 0.98);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  padding: 48px 24px 40px 24px;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 24px 0;
}

.faq-item {
  background: #181C1F;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(245, 44, 13, 0.10);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FF2C0D;
  margin-bottom: 0px;
  letter-spacing: 0.5px;
}

.faq-answer {
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.6;
  padding-left: 8px;
  border-left: 3px solid #FF2C0D;
  background: rgba(255, 44, 13, 0.03);
  border-radius: 6px;
  transition: max-height 0.3s, opacity 0.3s;
}

.faq-cta {
  margin-top: 32px;
  text-align: center;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  background: #FF2C0D;
  border-radius: 10px;
  padding: 16px 12px;
  box-shadow: 0 2px 8px rgba(255, 44, 13, 0.10);
}

h3.faq-question {
  cursor: pointer;
  position: relative;
  outline: none;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0px;
  letter-spacing: 0.5px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  padding-right: 36px;
}

h3.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #FF2C0D;
  font-weight: 900;
  transition: content 0.2s, color 0.2s;
  line-height: 1;
}

.faq-item.open>h3.faq-question::after {
  content: '–';
  color: #FF2C0D;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4, 0, .2, 1), opacity 0.25s, margin-top 0.25s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 8px;
  overflow: visible;
}

@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 24px 10px;
  }
}

@media (max-width: 768px) {
  .header__container {
    padding: 10px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 240px;
    height: 100vh;
    background: #181C1F;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 64px 24px 24px 24px;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.25);
    transition: right 0.3s;
    z-index: 2000;
  }

  .nav--open {
    right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__close {
    display: block;
  }

  .nav>.btn {
    width: 100%;
    margin-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 16px 10px;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__nav {
    gap: 16px;
  }

  .faq-block {
    padding: 24px 10px 24px 10px;
  }

  .faq-item {
    padding: 14px 8px;
  }

  .faq-cta {
    font-size: 1rem;
    padding: 10px 4px;
  }
  .btn {
    font-size:1rem;
    margin-right:0px;
  }
}

@media (max-width: 400px) {

  .logo,
  .footer__logo {
    font-size: 1rem;
  }
}

h1 {
  font-size: 2rem;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

.section img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 10px;
}