.container {
  width: 90%;
  max-width: 1170px;
  margin: auto;
}

section {
  padding: 80px 0;
}

h2 {
  margin-bottom: 32px;
  font-size: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  border-radius: 0;
  text-decoration: none;
  color: #221515;
  font-family: "Inter", sans-serif;
  -webkit-font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off, 'kern' off;
          font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off, 'kern' off;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body footer {
  margin-top: auto;
  margin-bottom: 0;
}

select,
input,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
}

*:focus {
  outline: transparent;
}

input[type=submit] {
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.header {
  padding: 20px 0;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  background: white;
  transition: 0.4s;
}

.header.fix {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.header .container {
  display: flex;
  align-items: center;
}

.header__logo {
  margin-right: auto;
  font-size: 24px;
  font-weight: 600;
  transition: 0.4s;
}

.header__logo:hover {
  color: #e1000f;
}

.header__menu ul {
  display: flex;
  gap: 32px;
}

.header__menu a {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  transition: 0.4s;
}

.header__menu a:hover {
  color: #e1000f;
}

.header__mob__btn {
  position: relative;
  width: 32px;
  height: 32px;
  background: #f9f9f9;
}

.header__mob__btn span {
  display: block;
  background: #221515;
  width: 20px;
  height: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  transition: 0.4s;
}

.header__mob__btn span:nth-child(1) {
  -webkit-transform: translate(-50%, calc(-50% - 6px));
          transform: translate(-50%, calc(-50% - 6px));
}

.header__mob__btn span:nth-child(2) {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.header__mob__btn span:nth-child(3) {
  -webkit-transform: translate(-50%, calc(-50% + 6px));
          transform: translate(-50%, calc(-50% + 6px));
}

.header__mob__btn.open span:nth-child(1) {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.header__mob__btn.open span:nth-child(2) {
  opacity: 0;
}

.header__mob__btn.open span:nth-child(3) {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

.header__mob__container {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: white;
  padding: 120px 0 50px;
}

.header__mob__container ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.header__mob__container a {
  font-size: 14px;
  transition: 0.4s;
}

.header__mob__container a:active {
  color: #e1000f;
}

.footer {
  background: #221515;
  padding: 30px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer .left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer .left p {
  font-size: 12px;
  line-height: 1.44;
  color: white;
}

.footer .logo {
  font-size: 24px;
  font-weight: 600;
  transition: 0.4s;
}

.footer .logo:hover {
  color: #e1000f;
}

.b1 {
  padding-top: 120px;
}

.b1 .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.b1 .box {
  width: calc(25% - 24px);
  border: 1px solid #d6d6d6;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.b1 .box * {
  font-size: 15px;
  text-align: center;
}

.b1 .box b {
  font-weight: 500;
  color: #e1000f;
}

.b1 .box .logo {
  height: 120px;
  width: 100%;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 8px;
}

.b1 .box .logo img {
  display: block;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.b1 .box .list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.b1 .box .links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.b1 .box .links a {
  display: block;
  text-align: center;
  text-decoration: underline;
  color: #3177ff;
  transition: 0.4s;
}

.b1 .box .links a:hover {
  color: #135ae8;
}

.b1 .box .stavka p {
  margin-bottom: 4px;
}

.b1 .box .btn {
  background: #e1000f;
  padding: 14px;
  color: white;
  font-weight: 500;
  transition: 0.4s;
  margin-top: auto;
}

.b1 .box .btn:hover {
  background: #221515;
}

.b2 .list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.b2 .box {
  width: calc(33.33% - 21.34px);
  border: 1px solid #d6d6d6;
  padding: 8px;
}

.b2 .box * {
  font-size: 14px;
}

.b2 .box table {
  border-collapse: collapse;
}

.b2 .box th {
  text-align: left;
  padding: 10px;
}

.b2 .box td {
  padding: 10px;
}

.b2 .box tr:nth-child(2n) {
  background: #f9f9f9;
}

.b3 .list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.b3 .text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.b3 .text h3 {
  font-size: 16px;
  font-weight: 600;
}

.b3 .text p,
.b3 .text li {
  font-size: 14px;
  line-height: 144%;
}

.b3 .text ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
}

.b3 .text li {
  list-style: disc;
}

@media screen and (min-width: 1025px) {
  .header__mob__btn {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .b1 .box {
    width: calc(33.33% - 21.34px);
  }
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 500px;
  }

  section {
    padding: 30px 0;
  }

  h2 {
    font-size: 24px;
  }

  .header {
    padding: 12px 0;
  }

  .header__logo {
    font-size: 20px;
  }

  .header__menu {
    display: none;
  }

  .footer .container {
    flex-direction: column-reverse;
  }

  .footer .left p {
    text-align: center;
  }

  .footer .logo {
    font-size: 20px;
  }

  .b1 {
    padding-top: 60px;
  }

  .b1 .container {
    gap: 8px;
  }

  .b1 .box {
    width: calc(50% - 4px);
    gap: 12px;
    padding: 5px;
  }

  .b1 .box * {
    font-size: 12px;
  }

  .b1 .box .logo {
    height: 70px;
    padding-bottom: 5px;
  }

  .b1 .box .list {
    gap: 8px;
  }

  .b1 .box .stavka ul {
    flex-direction: column;
    gap: 4px;
  }

  .b2 .list {
    gap: 8px;
  }

  .b2 .box {
    width: 100%;
  }

  .b2 .box * {
    font-size: 12px;
  }

  .b2 .box th {
    padding: 6px;
  }

  .b2 .box td {
    padding: 6px;
  }

  .b3 .list {
    gap: 16px;
  }

  .b3 .text h3 {
    font-size: 14px;
  }

  .b3 .text p,
  .b3 .text li {
    font-size: 12px;
  }
}