@font-face {
  font-family: "Coco Gothic";
  font-style: normal;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Coco Gothic"),
       /* Если не получилось, загрузит woff2 */
       url("/fonts/Coco-Gothic.woff2") format("woff2"),
       /* Если браузер не поддерживает woff2, загрузит woff */
       url("/fonts/Coco-Gothic.woff") format("woff");
}

@font-face {
  font-family: "Neue Machina";
  font-style: normal;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Neue Machina"),
       /* Если не получилось, загрузит woff2 */
       url("/fonts/NeueMachina.woff2") format("woff2"),
       /* Если браузер не поддерживает woff2, загрузит woff */
       url("/fonts/NeueMachina.woff") format("woff");
}

@font-face {
  font-family: "Helvetica";
  font-style: normal;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Helvetica"),
       /* Если не получилось, загрузит woff2 */
       url("/fonts/Helvetica.woff2") format("woff2"),
       /* Если браузер не поддерживает woff2, загрузит woff */
       url("/fonts/Helvetica.woff") format("woff");
}

* {
  margin: 0;
}

body {
  font-family: "Coco Gothic", sans-serif;
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Neue Machina", serif;
  font-weight: normal;
  font-size: 60px;
  color: #320a24;
  line-height: 150%;
  text-transform: uppercase;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #320a24;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #fff;
}

/*Header start*/

.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 1122px;
  height: 100px;
  background-color: #320a24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  box-sizing: border-box;
  border-radius: 16px;
}

.header a img {
  width: 94px;
}

.menu {
  display: flex;
  align-items: center;
}

.menu-first a {
  margin-right: 60px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu-no-margin a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu a:hover {
  opacity: 50%;
}

.no-margin {
  margin: 0;
}

.header-button a {
  padding: 16px 24px;
  box-sizing: border-box;
  font-size: 24px;
  text-decoration: none;
  color: #000;
  border: 2px solid #fff;
  border-radius: 12px;
  background-color: #fff;
  text-align: center;
  position: relative;
  transition: color 0.5s;
}

.header-button a span {
  position: relative;
  z-index: 2;
}

.header-button a:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #320a24;
  border-radius: 12px;
  transition: all 0.5s;
}

.header-button-mabail {
  display: none;
}

.header-button a:hover {
  color: #fff;
}

.header-button a:hover:after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/*Header end*/

/*Main start*/

.main {
  max-width: 1760px;
  margin: 204px auto 200px;
}

.tab {
  overflow: hidden;
  display: flex;
  padding: auto;
  justify-content: space-between;
}

.tab a {
  background-color: inherit;
  float: left;
  border: 2px solid #320a24;
  outline: none;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
  font-size: 32px;
  border-radius: 12px;
  padding-top: 4px;
  box-sizing: border-box;
}

.bt-1 {
  width: 303px;
  height: 56px;
}

.bt-2 {
  width: 337px;
  height: 56px;
}

.bt-3 {
  width: 385px;
  height: 56px;
}

.bt-4 {
  width: 369px;
  height: 56px;
}

.bt-5 {
  width: 187px;
  height: 56px;
}

.tab a:hover {
  background-color: #320a24;
  color: #fff;
}

.tab a.active {
  background-color: #320a24;
  color: #fff;
}

.tabcontent {
  display: none;
  margin-top: 60px;
}

.all-card {
  display: flex;
  gap: 24px;
  flex-flow: row wrap;
}

.card {
  background-color: #320a24;
  width: 422px;
  height: 572px;
  padding: 24px;
  box-sizing: border-box;
  border-radius: 24px;
}

.card img {
  margin-bottom: 32px;
}

.card-title p {
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
}

.card-title span {
  font-family: "Helvetica", sans-serif;
}

.summary {
  display: flex;
  justify-content: space-between;
}

.summary p {
  color: #fff;
  font-size: 32px;
  margin-bottom: 24px;
}

.summary span {
  font-family: "Helvetica", sans-serif;
}

.card-button {
  text-align: center;
}

.card-button a {
  font-size: 32px;
  color: #320a24;
  text-decoration: none;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 8px 116.5px;
  background-color: #fff;
  border-radius: 12px;
  border: 2px solid #fff;
  transition: background-color 0.5s, color 0.5s;
}

.card-button a:hover {
  background-color: #320a24;
  color: #fff;
}

.main-info {
  margin-top: 80px;
  background-color: #320a24;
  padding: 40px 24px;
  border-radius: 24px;
}

.main-info h1 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 40px;
  max-height: 28px;
}

.main-info p {
  font-size: 32px;
  color: #fff;
}

.main-info span {
  font-family: "Helvetica", sans-serif;
}

/*Main end*/

/*Footer start*/

.footer {
  padding: 40px 0;
  background-color: #320a24;
  color: #fff;
}

.footer-up {
  max-width: 1760px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
}

.logo-info img {
  margin-bottom: 32px;
}

.logo-info p {
  font-size: 16px;
  max-width: 267px;
}

.logo-info span {
  font-family: "Helvetica", sans-serif;
  font-weight: normal;
}
.footer-up-katalog h4 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 32px;
}

.footer-up-katalog a {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.5s;
}

.footer-up-katalog a:hover {
  opacity: 50%;
}

.footer-up-info h4 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 32px;
}

.footer-up-info a {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.5s;
  max-width: 361px;
}

.footer-up-info a:hover {
  opacity: 50%;
}

.footer-up-contact h4 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 32px;
}

.footer-up-contact a {
  display: flex;
  margin-bottom: 16px;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.5s;
  max-width: 361px;
  gap: 16px;
}

.footer-up-contact img {
  width: 40px;
  height: 40px;
}

.footer-up-contact span {
  font-family: "Helvetica", sans-serif;
}

.footer-up-contact a:hover {
  opacity: 50%;
}

.footer-up-contact-social {
  display: flex;
  gap: 24px;
}

.footer-line {
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.footer-down {
  margin: 40px 80px 0;
  text-align: center;
}

.footer-down p {
  font-size: 16px;
}

.footer-down span {
  font-family: "Helvetica", sans-serif;
}

/*Footer end*/

@media (max-width: 1900px) {
  html {
    scroll-behavior: smooth;
    scroll-padding: 140px;
  }

  * {
    margin: 0;
  }

  body {
    font-family: "Coco Gothic", sans-serif;
    font-weight: normal;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Neue Machina", serif;
    font-weight: normal;
    font-size: 40px;
    color: #320a24;
    line-height: 120%;
    text-transform: uppercase;
  }

  ::-webkit-scrollbar {
    width: 8px;
    background-color: #fff;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #320a24;
  }

  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #fff;
  }

  /*Header start*/

  .header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 740px;
    height: 70px;
    background-color: #320a24;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .header a img {
    width: 59px;
  }

  .menu-first a {
    margin-right: 37px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .menu-no-margin a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .menu a:hover {
    opacity: 50%;
  }

  .no-margin {
    margin: 0;
  }

  .header-button a {
    padding: 12px 16px;
    box-sizing: border-box;
    width: 108px;
    height: 36px;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    border: 2px solid #fff;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    position: relative;
    transition: color 0.5s;
  }

  .header-button a span {
    position: relative;
    z-index: 2;
  }

  .header-button a:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #320a24;
    border-radius: 8px;
    transition: all 0.5s;
  }

  .header-button a:hover {
    color: #fff;
  }

  .header-button a:hover:after {
    width: 100%;
  }

  /*Header end*/

  /*Main start*/

  .main {
    max-width: 1120px;
    margin: 118px auto 150px;
  }

  .tab {
    overflow: hidden;
    display: flex;
    padding: auto;
    justify-content: space-between;
  }

  .tab a {
    background-color: inherit;
    float: left;
    border: 2px solid #320a24;
    outline: none;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
    font-size: 20px;
    border-radius: 8px;
    padding-top: 4px;
    box-sizing: border-box;
  }

  .bt-1 {
    width: 190px;
    height: 39px;
  }

  .bt-2 {
    width: 211px;
    height: 39px;
  }

  .bt-3 {
    width: 241px;
    height: 39px;
  }

  .bt-4 {
    width: 231px;
    height: 39px;
  }

  .bt-5 {
    width: 117px;
    height: 39px;
  }

  .tab a:hover {
    background-color: #320a24;
    color: #fff;
  }

  .tab a.active {
    background-color: #320a24;
    color: #fff;
  }

  .tabcontent {
    display: none;
    margin-top: 40px;
  }

  .all-card {
    display: flex;
    gap: 24px;
    flex-flow: row wrap;
  }

  .card {
    background-color: #320a24;
    width: 262px;
    height: 355px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 16px;
  }

  .card img {
    margin-bottom: 12px;
    width: 238px;
    border-radius: 8px;
  }

  .card-title p {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
  }

  .card-title span {
    font-family: "Helvetica", sans-serif;
  }

  .summary {
    display: flex;
    justify-content: space-between;
  }

  .summary p {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
  }

  .summary span {
    font-family: "Helvetica", sans-serif;
  }

  .card-button {
    text-align: center;
  }

  .card-button a {
    font-size: 20px;
    color: #320a24;
    text-decoration: none;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 8px 72.6px;
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
    transition: background-color 0.5s, color 0.5s;
  }

  .card-button a:hover {
    background-color: #320a24;
    color: #fff;
  }

  .main-info {
    margin-top: 40px;
    background-color: #320a24;
    padding: 24px 16px;
    border-radius: 16px;
  }

  .main-info h1 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 24px;
    max-height: 18px;
  }

  .main-info p {
    font-size: 20px;
    color: #fff;
  }

  .main-info span {
    font-family: "Helvetica", sans-serif;
  }

  /*Main end*/

  /*Footer start*/

  .footer {
    padding: 24px 0;
    background-color: #320a24;
    color: #fff;
  }

  .footer-up {
    max-width: 1120px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
  }

  .logo-info img {
    margin-bottom: 24px;
    width: 101px;
  }

  .logo-info p {
    font-size: 12px;
    max-width: 193px;
  }

  .logo-info span {
    font-family: "Helvetica", sans-serif;
    font-weight: normal;
  }
  .footer-up-katalog h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
  }

  .footer-up-katalog a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.5s;
  }

  .footer-up-katalog a:hover {
    opacity: 50%;
  }

  .footer-up-info h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
  }

  .footer-up-info a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.5s;
    max-width: 225px;
  }

  .footer-up-info a:hover {
    opacity: 50%;
  }

  .footer-up-contact h4 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
  }

  .footer-up-contact a {
    display: flex;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.5s;
    max-width: 361px;
    gap: 8px;
  }

  .footer-up-contact img {
    width: 24px;
    height: 24px;
  }

  .footer-up-contact span {
    font-family: "Helvetica", sans-serif;
  }

  .footer-up-contact a:hover {
    opacity: 50%;
  }

  .footer-up-contact-social {
    display: flex;
    gap: 16px;
  }

  .footer-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
  }

  .footer-down {
    margin: 24px 80px 0;
    text-align: center;
  }

  .footer-down p {
    font-size: 12px;
  }

  .footer-down span {
    font-family: "Helvetica", sans-serif;
  }

  /*Footer end*/
}

@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
    scroll-padding: 100px;
  }

  * {
    margin: 0;
  }

  body {
    font-family: "Coco Gothic", sans-serif;
    font-weight: normal;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Neue Machina", serif;
    font-weight: normal;
    font-size: 32px;
    color: #320a24;
    line-height: 120%;
    text-transform: uppercase;
  }

  ::-webkit-scrollbar {
    width: 8px;
    background-color: #fff;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #320a24;
  }

  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #fff;
  }

  /* Фиксированный хедер */
  .header {
    position: fixed;
    transform: translate(-50%, 0);
    top: 8px;
    left: 50%;
    width: 343px;
    background: #320a24;
    z-index: 1000;
    padding: 8px 24px;
    box-sizing: border-box;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    width: 58px;
  }

  /* Стили для бургер-меню */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  .burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }

  .menu {
    display: none;
    position: absolute;
    left: 0px;
    top: 61px;
    width: 343px;
    border-radius: 0 0 12px 12px;
    background: #320a24;
    padding: 32px 0 44px;
    box-sizing: border-box;
    z-index: 999;
    text-align: center;
  }

  .menu a {
    margin: 0;
  }

  .menu-first a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 16px;
  }

  .menu-no-margin a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 44px;
  }

  .header-button-mabail a {
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 20px;
    text-decoration: none;
    color: #000;
    border: 2px solid #fff;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    position: relative;
  }

  .header-button {
    display: none;
  }

  /* Показываем кнопку в мобильном меню */
  .menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Когда меню активно, отображаем кнопку */
  .menu.active .header-button-mabail {
    display: block;
    margin-top: 16px; /* Отступ от последнего пункта меню */
  }

  .menu.active {
    display: block;
  }

  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /*Heder end*/

  /*Main start*/

  .main {
    margin: 108px auto 80px;
  }

  .tab {
    padding: 0 16px;
    display: flex;
    flex-wrap: nowrap; /* Оставляем в одну линию */
    overflow-x: auto; /* Добавляет горизонтальный скролл при нехватке места */
    gap: 16px; /* Делаем расстояние между кнопками меньше */
    white-space: nowrap; /* Чтобы кнопки не переносились */
    -ms-overflow-style: none; /* Убирает скроллбар в IE и Edge */
    scrollbar-width: none; /* Убирает скроллбар в Firefox */
  }

  .tab::-webkit-scrollbar {
    display: none; /* Убирает скроллбар в Chrome, Safari и Opera */
  }

  .tab a {
    flex-shrink: 0; /* Запрещает кнопкам уменьшаться */
    border: 2px solid #320a24;
    outline: none;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    font-size: 20px;
    border-radius: 8px;
    padding-top: 8px; /* Сделаем внутренние отступы более универсальными */
    box-sizing: border-box;
    min-width: max-content; /* Кнопки будут адаптироваться под текст */
  }

  .tab a:hover,
  .tab a.active {
    background-color: #320a24;
    color: #fff;
  }

  .bt-1 {
    width: 215px;
    height: 47px;
  }

  .bt-2 {
    width: 237px;
    height: 47px;
  }

  .bt-3 {
    width: 264px;
    height: 47px;
  }

  .bt-4 {
    width: 257px;
    height: 47px;
  }

  .bt-5 {
    width: 142px;
    height: 47px;
  }

  .tabcontent {
    display: none;
    margin-top: 32px;
  }

  .all-card {
    display: flex;
    gap: 16px;
    flex-flow: row wrap;
    justify-content: center;
  }

  .card {
    background-color: #320a24;
    width: 164px;
    height: 240px;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .card img {
    width: 140px;
    margin-bottom: 8px;
  }

  .card-title p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .card-title span {
    font-family: "Helvetica", sans-serif;
  }

  .summary {
    display: flex;
    justify-content: space-between;
  }

  .summary p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 14px;
  }

  .summary span {
    font-family: "Helvetica", sans-serif;
  }

  .card-button {
    text-align: center;
  }

  .card-button a {
    font-size: 16px;
    color: #320a24;
    text-decoration: none;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 4px 34.5px;
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
    transition: background-color 0.5s, color 0.5s;
  }

  .card-button a:hover {
    background-color: #320a24;
    color: #fff;
  }

  .main-info {
    margin: 24px auto 0;
    background-color: #320a24;
    border-radius: 16px;
    max-width: 343px;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
  }

  .main-info h1 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 24px;
    max-height: 46px;
  }

  .main-info p {
    font-size: 20px;
    color: #fff;
  }

  .main-info span {
    font-family: "Helvetica", sans-serif;
  }

  /*Main end*/

  /*Footer start*/

  .footer {
    padding: 32px 0;
    background-color: #320a24;
    color: #fff;
  }

  .footer-up {
    display: block;
    margin: 0;
    text-align: center;
    align-items: center;
  }

  .logo-info img {
    width: 91px;
    margin-bottom: 16px;
  }

  .logo-info p {
    font-size: 12px;
    margin-bottom: 32px;
    max-width: 100%;
  }

  .logo-info span {
    font-family: "Helvetica", sans-serif;
    font-weight: normal;
  }

  .footer-up {
    margin-bottom: 60px;
  }

  .footer-up-katalog {
    margin-bottom: 32px;
  }

  .footer-up-katalog h4 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
  }

  .footer-up-katalog a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
  }

  .footer-up-info {
    margin-bottom: 32px;
  }

  .footer-up-info h4 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
  }

  .footer-up-info a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    max-width: 100%;
  }

  .footer-up-contact h4 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 16px;
  }

  .footer-up-contact a {
    justify-content: center;
    display: flex;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    gap: 8px;
  }

  .footer-up-contact-first a {
    margin: 0 auto 8px;
  }

  .footer-up-contact img {
    width: 40px;
    height: 40px;
  }

  .footer-up-contact span {
    font-family: "Helvetica", sans-serif;
  }

  .footer-up-contact-social {
    justify-content: center;
    display: flex;
    gap: 16px;
  }

  .footer-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
  }

  .footer-down {
    margin: 32px auto 0;
    text-align: center;
  }

  .footer-down p {
    font-size: 12px;
  }

  .footer-down span {
    font-family: "Helvetica", sans-serif;
  }

  /*Footer end*/
}
