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

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: #000;
  background: #fafbfc;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(160deg, #fcfcfd 0%, #f8f9fb 50%, #f5f6f8 100%);
}

.page-bg__icon {
  position: absolute;
  width: 72px;
  height: 72px;
  opacity: 30%;
  object-fit: contain;
  animation: page-bg-float 14s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.page-bg__icon--1 {
  top: 8%;
  left: 6%;
  animation-delay: 0s;
}

.page-bg__icon--2 {
  top: 18%;
  right: 10%;
  width: 64px;
  height: 64px;
  animation-delay: -2s;
}

.page-bg__icon--3 {
  top: 42%;
  left: 4%;
  width: 58px;
  height: 58px;
  animation-delay: -4s;
}

.page-bg__icon--4 {
  top: 55%;
  right: 7%;
  width: 68px;
  height: 68px;
  animation-delay: -1s;
}

.page-bg__icon--5 {
  bottom: 22%;
  left: 12%;
  width: 66px;
  height: 66px;
  animation-delay: -6s;
}

.page-bg__icon--6 {
  bottom: 12%;
  right: 16%;
  width: 70px;
  height: 70px;
  animation-delay: -3s;
}

.page-bg__icon--7 {
  top: 72%;
  left: 48%;
  width: 56px;
  height: 56px;
  animation-delay: -5s;
}

.page-bg__icon--8 {
  top: 32%;
  left: 78%;
  width: 62px;
  height: 62px;
  animation-delay: -7s;
}

@keyframes page-bg-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(8px, -14px) rotate(4deg);
  }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 40px;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  width: 36px;
  height: 36px;
}

.logo__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--outline {
  background: #fff;
  border-color: #c8c8c8;
  color: #000;
}

.btn--dark {
  background: #2b2b2b;
  color: #fff;
}

.btn--gray {
  background: #c8c8c80d;
  border-color: #c8c8c829;
  color: #fff;
  min-width: 120px;
  height: 40px;
}

/* Main */

.main {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 36px;
}

.hero {
  position: relative;
  border-radius: 16px;
  min-height: 340px;
  overflow: hidden;
  background: #e8e8e8;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #e8e8e8;
}

.hero__slide--1 {
  background-image: url("images/hero-slide-1.png");
}

.hero__slide--2 {
  background-image: url("images/hero-slide-2.png");
}

.hero__slide--3 {
  background-image: url("images/hero-slide-3.png");
}

.hero__slide--4 {
  background-image: url("images/hero-slide-4.png");
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.8) 32%,
    rgba(0, 0, 0, 0.6) 52%,
    #0000001c 72%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 340px;
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.hero__title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  max-width: 400px;
}

.hero__text {
  max-width: 460px;
  margin-bottom: auto;
  padding-bottom: 28px;
}

.hero__btn {
  align-self: flex-start;
}

/* Sidebar */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #c8c8c8;
}

.sidebar-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.sidebar-card--1 .sidebar-card__media {
  background-image: url("images/hero-slide-2.png");
}

.sidebar-card--2 .sidebar-card__media {
  background-image: url("images/hero-slide-3.png");
}

.sidebar-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.8) 32%,
    rgba(0, 0, 0, 0.6) 52%,
    #0000001c 72%
  );
  pointer-events: none;
}

.sidebar-card__body {
  position: relative;
  z-index: 2;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.sidebar-card__title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.sidebar-card__text {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 250px;
  margin-bottom: 12px;
  font-size: 13px;
  overflow: hidden;
}

.sidebar-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
  font-size: 14px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: blink 1.2s ease-in-out infinite;
  color: #68f905;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* Cards section */

.cards-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cards-section__title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cards-section__more {
  font-size: 14px;
  color: gray;
  border: solid 1px gray;
  padding: 2px 14px;
  border-radius: 13px;
}

.cards-section__more:hover {
  color: #666;
}

.cards-slider__viewport {
  overflow: hidden;
}

.cards-slider__track {
  display: flex;
  gap: var(--cards-gap, 12px);
  width: max-content;
  will-change: transform;
  animation: cards-marquee var(--marquee-duration, 21s) linear infinite;
}

@keyframes cards-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--marquee-offset, -50%), 0, 0);
  }
}

.prov_sec {
  padding-top: 60px;
}

.prov_main_position {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: max-content;
  padding-top: 20px;
  border-top: solid 1px #80808029;
  margin-top: 10px;
  }
  
.prov_text {
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6a6a6f;
  background: #f2f3f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.045);
  transition: color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.prov_text:hover {
  color: #202022;
  border-color: rgba(4, 4, 4, 0.14);
  }

.card {
  position: relative;
  display: block;
  flex: 0 0 var(--card-width, 180px);
  min-height: 132px;
  border-radius: 14px;
  overflow: hidden;
  background: #d0d0d0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.card--1 .card__media {
  background-image: url("images/grid-card-1.png");
}

.card--2 .card__media {
  background-image: url("images/grid-card-2.png");
}

.card--3 .card__media {
  background-image: url("images/grid-card-3.png");
}

.card--4 .card__media {
  background-image: url("images/grid-card-4.png");
}

.card--5 .card__media {
  background-image: url("images/grid-card-5.png");
}

.card--6 .card__media {
  background-image: url("images/grid-card-6.png");
}

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.83) 38%,
    rgba(0, 0, 0, 0.57) 62%,
    #0000 100%
  );
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 16px 12px;
  text-align: center;
  color: #fff;
}

.card__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.card__desc {
  max-width: 140px;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.92;
}

.card:hover {
  transform: translateY(-2px);
}

.card:hover .card__media {
  transform: scale(1.06);
}

.card:hover .card__overlay {
  opacity: 0.92;
}

/* Promo section */

.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 60px;
}

.promo__media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
}

.promo__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
}

.promo__content {
  padding: 8px 0;
}

.promo__title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.promo__text {
  font-size: 14px;
  line-height: 1.5;
  max-width: 520px;
}

.promo__text + .promo__text {
  margin-top: 14px;
}

/* Benefits section */

.benefits {
  margin-top: 48px;
}

.benefits__title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.benefit {
  padding: 22px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e4e8;
}

.benefit__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit__text {
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

/* Conclusion section */

.conclusion {
  margin-top: 48px;
  text-align: center;
}

.conclusion__title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.conclusion__text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Footer */

.btn_foot {
  margin-top: 40px;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e4e8;
  text-align: center;
}

.footer__copy {
  font-size: 13px;
  color: #888;
}

/* Responsive */

@media (max-width: 992px) {
  .page {
    padding: 20px 24px 36px;
  }

  .main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
  }

  .sidebar-card {
    flex: 1 1 calc(50% - 8px);
    min-height: 220px;
  }

  .sidebar-card__text {
    max-width: 100%;
  }

  .promo {
    gap: 36px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page {
    padding: 16px 16px 32px;
  }

  .header {
    gap: 14px;
    margin-bottom: 20px;
  }

  .header__nav {
    width: 100%;
    justify-content: stretch;
  }

  .header__nav .btn {
    flex: 1;
    min-width: 0;
  }

  .hero,
  .hero__content {
    min-height: 300px;
  }

  .hero__content {
    padding: 24px 20px 28px;
  }

  .hero__title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .hero__text {
    max-width: 100%;
    padding-bottom: 20px;
  }

  .hero__overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.78) 45%,
      rgba(0, 0, 0, 0.55) 70%,
      #0000001c 100%
    );
  }

  .sidebar-card__title {
    font-size: 16px;
  }

  .card {
    min-height: 240px;
  }

  .card__title {
    font-size: 14px;
  }

  .card__desc {
    max-width: 100%;
    font-size: 11px;
  }

  .promo {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 48px;
  }

  .promo__media,
  .promo__image {
    min-height: 220px;
  }

  .promo__title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .promo__text {
    max-width: 100%;
    font-size: 13px;
  }

  .benefits {
    margin-top: 36px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .conclusion {
    margin-top: 36px;
  }

  .conclusion__text {
    font-size: 13px;
  }

  .footer {
    margin-top: 36px;
  }
}

@media (max-width: 576px) {
  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .logo__text {
    font-size: 18px;
  }

  .btn {
    min-width: 0;
    height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }

  .sidebar {
    flex-direction: column;
  }

  .sidebar-card {
    flex: none;
    min-height: 200px;
  }

  .sidebar-card__body {
    padding: 20px 18px 18px;
  }

  .hero,
  .hero__content {
    min-height: 280px;
  }

  .hero__title {
    font-size: 20px;
  }

  .hero__text {
    font-size: 13px;
  }

  .cards-section__title {
    font-size: 16px;
  }
}

@media (max-width: 400px) {

.logo {
  gap: 3px;
}
  .page {
    padding: 12px 12px 28px;
  }

  .header__nav {
    gap: 8px;
  }

  .card {
    min-height: 280px;
  }

  .card__title {
    font-size: 15px;
  }

  .card__desc {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__track,
  .cards-slider__track,
  .card__media,
  .card,
  .pulse,
  .page-bg__icon {
    animation: none !important;
    transition: none;
  }
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal__dialog {
   background-image: url("images/back_modal.png");
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 638px;
  padding: 36px 28px 28px;
  border-radius: 16px;
  text-align: center;
  background-size: contain;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}

.modal__close:hover {
  color: #000;
}

.modal__image {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 4px;
  border-radius: 12px;
  object-fit: cover;
}

.modal__title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.modal__text {
  max-width: 340px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}

.modal__btn {
  min-width: 160px;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .modal__dialog {
    padding: 32px 20px 24px;
  }

  .modal__image {
    height: 160px;
  }

  .modal__title {
    font-size: 18px;
  }

  .modal__text {
    font-size: 13px;
  }
}
