.home-reels-section {
  --home-reels-accent: #d8d8d8;
  --home-reels-border: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  padding-bottom: 92px;
  color: #fff;
}

.home-reels-section::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 50%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.6;
}

.home-reels-section .container {
  position: relative;
  z-index: 1;
}

.kok-home-services + .home-reels-section {
  padding-top: 88px !important;
}

.home-reels-section + .logo-bank-section {
  padding-top: 74px !important;
}

.home-reels-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.home-reels-section__intro {
  max-width: 520px;
}

.home-reels-section__title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.home-reels-section__title span {
  color: var(--home-reels-accent);
}

.home-reels-section__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.home-reels-section__fraction {
  min-width: 90px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: right;
  text-transform: uppercase;
}

.home-reels-section__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-reels-section__nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--home-reels-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.home-reels-section__nav:hover,
.home-reels-section__nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.home-reels-section__slider {
  overflow: visible;
}

.home-reels-section__slider .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: linear;
  will-change: transform;
}

.home-reels-card {
  height: auto;
}

.home-reels-card__surface {
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.home-reels-card__media-shell {
  padding: 0;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
}

.home-reels-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #050505;
}

.home-reels-card__frame,
.home-reels-card__video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}

.home-reels-card__audio {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.48);
  color: #fff;
  opacity: 0;
  transition:
    opacity 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.home-reels-card:hover .home-reels-card__audio,
.home-reels-card:focus-within .home-reels-card__audio {
  opacity: 1;
}

.home-reels-card__audio:hover,
.home-reels-card__audio:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(8, 8, 8, 0.7);
  outline: none;
}

.home-reels-card__audio-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.home-reels-card__audio-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-reels-card__audio[data-muted="true"] .home-reels-card__audio-icon--unmuted,
.home-reels-card__audio[data-muted="false"] .home-reels-card__audio-icon--muted {
  display: none;
}

.home-reels-section--single .home-reels-section__meta,
.home-reels-section--single .home-reels-section__fraction {
  display: none;
}

.home-reels-section--single .home-reels-section__slider {
  max-width: 260px;
}

@media screen and (max-width: 1199px) {
  .home-reels-section__title {
    font-size: clamp(28px, 4vw, 46px);
  }
}

@media screen and (max-width: 991px) {
  .kok-home-services + .home-reels-section {
    padding-top: 72px !important;
  }

  .home-reels-section + .logo-bank-section {
    padding-top: 62px !important;
  }

  .home-reels-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-reels-section__meta {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
}

@media screen and (max-width: 767px) {
  .home-reels-section {
    padding-bottom: 74px;
  }

  .kok-home-services + .home-reels-section {
    padding-top: 56px !important;
  }

  .home-reels-section + .logo-bank-section {
    padding-top: 48px !important;
  }

  .home-reels-section__head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .home-reels-section__title {
    font-size: 34px;
  }

  .home-reels-section__fraction {
    min-width: 72px;
    font-size: 11px;
  }

  .home-reels-section__nav {
    width: 42px;
    height: 42px;
  }

  .home-reels-card__surface {
    border-radius: 14px;
  }

  .home-reels-card__media-shell {
    padding: 0;
    border-radius: 14px;
  }

  .home-reels-card__media {
    border-radius: 14px;
  }

  .home-reels-card__audio {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  .home-reels-section__nav {
    transition: none;
  }

  .home-reels-section__nav:hover,
  .home-reels-section__nav:focus-visible {
    transform: none;
  }
}
