@font-face {
  font-family: 'Actay';
  src: url("../fonts/Actay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Actay';
  src: url("../fonts/ActayWide-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Actay';
  src: url("../fonts/ActayWide-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro';
  src: url("../fonts/SFPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro';
  src: url("../fonts/SFPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --main-font: 'Actay', sans-serif;
  --sfpro-font: 'SF Pro', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 360px;
  background: #fff;
  color: #111;
  font-family: var(--main-font);
}

main {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
textarea,
button,
select,
label {
  font-family: var(--main-font);
  border: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1864px;
  padding: 0 12px;
  margin: 0 auto;
}

.top {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.02);
}

.top__global {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.top__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 17px;
  line-height: 129%;
  color: #000;
}

.top__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top__dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top__inner {
  font-weight: 400;
  font-size: 17px;
  line-height: 129%;
  color: #000;
}

.hero-global {
  position: relative;
}

.hero__slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

.header {
  padding: 12px 24px;
  width: max-content;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #fff;
  border-radius: 333px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
}

.header__block {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__controls {
  display: flex;
  align-items: center;
}

.header__catalog {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 138%;
  color: #fff;
  padding: 15px 19px;
  background: #3351ff;
  border-radius: 33333px;
}

.hero-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.hero-pagination__button {
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  color: #fff;
  flex-shrink: 0;
  padding: 12px 24px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1) radial-gradient(365.32% 257.51% at 143.92% -137.5%, #1e3199 0%, rgba(30, 49, 153, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 333px;
  overflow: hidden;
}

.hero-pagination__progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #3351ff;
}

.hero-pagination__text {
  position: relative;
  z-index: 2;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  min-height: 980px;
  padding-top: 118px;
}

.hero__title {
  font-style: italic;
  font-weight: 700;
  font-size: 80px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}

.hero__subtitle {
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  max-width: 1230px;
  margin: 0 auto;
}

.hero__align {
  display: flex;
  justify-content: center;
}

.hero__link {
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  color: #fff;
  padding: 18px 24px;
  background: #3351ff;
  border-radius: 12px;
}

.hero-global {
  margin-bottom: 120px;
}

.cat {
  margin-bottom: 120px;
}

.cat__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  color: #111;
  margin-bottom: 40px;
}

.cat__block {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 20px;
}

.cat__item {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 24px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.cat__item:hover {
  border: 2px solid rgba(51, 81, 255, 0.05);
}

.cat__slider {
  width: 14.38vw;

}

.cat__top {
  position: relative;
  padding: 23px 24px 13px;
  margin-bottom: 12px;
}

.cat_rating {
  padding: 6px 12px;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 18px;
  line-height: 111%;
  color: #111;
}

.cat__pagination.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  min-height: 8px;
}

.cat__pagination.swiper-pagination .swiper-pagination-bullet {
  background: rgba(0, 26, 180, 0.1);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  opacity: 1;
  transition: 0.3s;
  margin: 0;
}

.cat__pagination.swiper-pagination .swiper-pagination-bullet-active {
  background: #3351ff;
  width: 8px;
  height: 8px;
}

.cat__pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.cat__pill {
  padding: 6px 10px 4px;
  font-weight: 400;
  font-size: 16px;
  line-height: 119%;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  background: #ff48b0;
}

.cat__small {
  font-size: 12px;
}

.cat__pill.hit {
  background: #1b63ff;
}

.cat__caption {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #111;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat__line {
  margin-top: auto;
  width: 100%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.1);
  margin-bottom: 12px;
}

.cat__middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.cat__price {
  display: block;
  padding: 18px 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 111%;
  letter-spacing: -0.03em;
  color: #111;
}

.cat__bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cat__blue {
  padding: 10px 12px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 194px;
  width: 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  background: #3351ff;
  border-radius: 12px;
}

.cat__wrapper {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.cat__buy {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 111%;
  color: #fff;
  margin-bottom: -3px;
}

.cat__date {
  font-weight: 400;
  font-size: 14px;
  line-height: 111%;
  color: #fff;
  opacity: 0.8;
}

.cat__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat__action {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  background: #fff;
  border-radius: 14px;
  padding: 0;
  width: 51px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cat__controls {
  display: flex;
  align-items: center;
  gap: 3.5px;
  padding: 3px;
  background-color: rgba(51, 81, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  border-radius: 14px;
}

.cat__control {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #fff;
}

.cat__input {
  width: 45px;
  height: 45px;
  background: transparent;
  font-weight: 400;
  font-size: 18px;
  line-height: 111%;
  text-align: center;
  color: #000;
}

.cat__left {
  position: relative;
  padding-left: 10px;
}

.cat__left:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 4px;
  background: #ff3370;
}

.cat__left .cat__price {
  padding: 0;
  color: #ff3370;
}

.cat__middle:has(.cat__left) {
  padding: 18px 0;
}

.cat__old {
  font-weight: 400;
  font-size: 16px;
  line-height: 111%;
  letter-spacing: -0.03em;
  color: rgba(17, 17, 17, 0.5);
}

.cat__bonus {
  font-weight: 700;
  font-size: 18px;
  line-height: 111%;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  background: #3251ff;
  border-radius: 333px;
  padding: 8px;
}

.build {
  margin-bottom: 120px;
}

.build__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  color: #111;
  margin-bottom: 40px;
}

.build__block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.build__item {
  position: relative;
  background: url(../img/build-bg.webp) no-repeat center / cover;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  min-height: 288px;
  overflow: hidden;
  padding: 32px;
}

.build__wrapper {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.build__caption {
  font-weight: 400;
  font-size: 28px;
  line-height: 150%;
  color: #fff;
}

.build__button {
  width: fit-content;
  display: inline-block;
  font-weight: 400;
  font-size: 17px;
  line-height: 110%;
  color: #fff;
  padding: 16px 32px;
  background: #3351ff;
  border-radius: 12px;
}

.build__image {
  position: absolute;
  bottom: 0;
  right: 0;
}

.setup {
  margin-bottom: 120px;
}

.setup__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  color: #111;
  margin-bottom: 40px;
}

.setup__block {
  padding: 32px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: url(../img/setup-bg.jpg) no-repeat right / cover;
}

.setup__wrapper {
  display: flex;
  flex-direction: column;
  gap: 89px;
}

.setup__caption {
  font-weight: 400;
  font-size: 28px;
  line-height: 150%;
  color: #fff;
}

.setup__inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.setup__link {
  width: fit-content;
  font-weight: 400;
  font-size: 17px;
  line-height: 110%;
  color: #fff;
  padding: 16px 32px;
  background: #3351ff;
  border-radius: 12px;
}

.setup__image {
  margin-bottom: -32px;
}

.blog {
  margin-bottom: 120px;
}

.blog__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  color: #111;
  margin-bottom: 40px;
}

.blog__block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}

.blog__top {
  padding: 3px;
}

.blog__image {
  width: 100%;
  border-radius: 12px;
}

.blog__main {
  padding: 25px 23px 17px;
}

.blog__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.blog__pill {
  font-weight: 400;
  font-size: 17px;
  line-height: 129%;
  color: #000;
}

.blog__separtor {
  border-radius: 4px;
  width: 1px;
  height: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.blog__text {
  max-width: 458px;
  font-weight: 400;
  font-size: 24px;
  line-height: 115%;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 18px;
}

.blog__link {
  display: inline-block;
  font-weight: 400;
  font-size: 17px;
  line-height: 110%;
  color: #fff;
  padding: 16px 32px;
  background: #3351ff;
  border-radius: 12px;
}

.footer {
  background: #0f0f0f;
}

.footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 127px;
}


.footer__first {
  padding: 40px;
}

.footer__logo {
  display: block;
  margin-bottom: 32px;
}

.footer__copyright {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 394px));
  justify-content: space-between;
  gap: 30px;
}

.footer__item {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
}

.footer__caption {
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: #fff;
  margin-bottom: 18px;
}

.footer__point+.footer__point {
  margin-top: 12px;
}

.footer__point {
  display: block;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: rgba(255, 255, 255, 0.8);
}

.footer__global {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 0;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer__link {
  font-weight: 400;
  font-size: 15px;
  line-height: 130%;
  color: rgba(255, 255, 255, 0.5);
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  color: #fff;
}

.hero-controls {
  position: absolute;
  z-index: 50;
  align-items: center;
  gap: 22px;
  top: 43px;
  left: 50%;
  display: none;
  transform: translateX(-50%);
}

.hero-controls__arrow {
  padding: 0;
  background: none;
}

.hero-controls__state {
  backdrop-filter: blur(3.127272844314575px);
  background: rgba(255, 255, 255, 0.1) radial-gradient(365.32% 257.51% at 143.92% -137.5%, #1e3199 0%, rgba(30, 49, 153, 0) 100%);
  border: 0.78px solid rgba(255, 255, 255, 0.05);
  border-radius: 260px;
  padding: 9px 18px;
  font-weight: 400;
  font-size: 14px;
  line-height: 110%;
  color: #fff;
}

.footer__second {
  display: none;
}

@media (max-width: 1400px) {
  .cat__block {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1250px) {
  .footer__block {
    grid-template-columns: max-content 1fr;
    gap: 30px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__item {
    padding: 40px 20px;
  }

  .footer__first {
    padding: 40px 20px;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 15px 32px;
  }
}

@media (max-width: 1100px) {
  .cat__block {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1050px) {
  .hero__title {
    font-size: 60px;
  }

  .hero__subtitle {
    font-size: 26px;
  }

  .hero__inner {
    gap: 25px;
  }

  .build__block {
    grid-template-columns: 1fr 1fr;
  }

  .setup__image {
    display: none;
  }

  .blog__block {
    grid-template-columns: 1fr 1fr;
  }

  .footer__block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .top {
    display: none;
  }

  .cat__block {
    grid-template-columns: 1fr 1fr;
  }

  .cat__slider {
    width: 32.38vw;
  }

  .blog__block {
    grid-template-columns: 1fr;
  }

  .footer__main {
    gap: 15px;
  }
}

@media (max-width: 650px) {
  .header {
    display: none;
  }

  .hero-controls {
    display: flex;
  }

  .hero-pagination {
    display: none;
  }

  .hero__inner {
    min-height: 636px;
    padding-top: 63px;
    padding-bottom: 60px;
    gap: 32px;
    justify-content: flex-end;
  }

  .hero__title {
    font-size: 40px;
    text-align: left;
    line-height: 130%;
  }

  .hero__title br {
    display: none;
  }

  .hero__subtitle {
    font-size: 20px;
    line-height: 150%;
    text-align: left;
  }

  .hero__link {
    width: 100%;
    text-align: center;
  }

  .cat__title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .cat {
    margin-bottom: 60px;
  }

  .cat__block {
    display: flex;
    overflow-x: auto;
  }

  .cat__item {
    width: 320px;
    flex-shrink: 0;
  }

  .cat__slider {
    width: 240px;
  }

  .cat__price {
    font-size: 22px;
  }

  .cat__buy {
    font-size: 14px;
  }

  .cat__date {
    font-size: 13px;
  }

  .cat__blue {
    max-width: 162px;
  }

  .cat__item:has(.cat__controls) .cat__blue {
    max-width: 143px;
  }

  .cat__left .cat__price {
    font-size: 24px;
  }

  .cat__old {
    font-size: 15px;
  }

  .cat__input {
    width: 35px;
  }

  .build {
    margin-bottom: 60px;
  }

  .build__title {
    font-size: 30px;
  }

  .build__block {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .build__image {
    right: -66px;
    bottom: -40px;
  }

  .build__item {
    padding: 24px;
    min-height: 240px;
  }

  .build__caption {
    font-size: 22px;
  }

  .build__button {
    padding: 16px 28px;
  }

  .setup__title {
    font-size: 30px;
  }

  .setup {
    margin-bottom: 60px;
  }

  .setup__block {
    padding: 24px;
    background: url(../img/setup-bg.jpg) no-repeat 76% / cover;
  }

  .blog__title {
    font-size: 30px;
  }

  .blog {
    margin-bottom: 60px;
  }

  .blog__text {
    font-size: 22px;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__item {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer__bottom .footer__contacts {
    display: none;
  }

  .footer__second {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__contacts {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__first {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer__block {
    gap: 0;
  }

  .footer__first {
    margin-bottom: 40px;
  }
  

  .footer__item {
    padding: 0 0 40px;
  }

  .setup__caption {
    font-size: 24px;
  }
}

@media (max-width: 429px) {
  .hero__title {
    font-size: 35px;
  }

  .hero-global {
    margin-bottom: 60px;
  }
}