.promotion-cases {
  background-color: #f7f5f5;
}

.promotion-cases-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 0;
}

.promotion-cases h2 {
  padding: 0 10px;
}

.promotion-cases-text p {
  font-family: 'Century Gothic';
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 10px;
}

.promotion-cases-text p span {
  background-color: #ffc24b;
}

.promotion-cases .swiper {
  height: calc(559px * 2 + 20px);
  width: 98%;
  padding: 10px;
}

.promotion-cases-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
  margin: 40px 0;
  gap: 15px;
}

.promotion-cases-tabs div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 calc(20% - 20px);
  height: 50px;
  box-sizing: border-box;
  border: 2px solid #ffc24b;
  transition: background-color 0.5s;
  cursor: pointer;
  background: white;
}

.promotion-cases-tabs div:hover {
  background: #ffc24b;
}

.promotion-cases-tabs p {
  font-weight: bold;
  font-size: 14px;
}

.promotion-cases-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: url('https://gusarov-group.by/seo/wp-content/uploads/2025/07/phone.jpg') no-repeat;
  background-size: cover;
  box-shadow: 0px 2px 15px 0px #0000001a;
  height: 560px;
}

.promotion-cases-card h4 {
  color: #393333;
}

.hovered h4 {
  color: #fff;
}

.promotion-cases-card>div {
  background: #fff;
  padding: 30px;
}

.promotion-cases-card h4 {
  font-family: 'RadiateSans';
  font-size: clamp(14px, 2.5vw, 18px);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.promotion-cases-card-text>div:first-child h5 {
  font-family: 'Century Gothic';
  font-weight: bold;
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 10px;
}

.promotion-cases-card-text>div:first-child div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: 'Century Gothic';
  font-size: 16px;
}

.promotion-cases-card-text>div:first-child div p:last-child {
  font-family: 'RadiateSans';
  color: #378033;
  position: relative;
}

.promotion-cases-card-text>div:first-child div p:last-child::before {
  content: url('https://gusarov-group.by/seo/wp-content/uploads/2025/08/Polygon-2.svg');
  position: absolute;
  left: -15px;
  bottom: 2px;
}

.hovered .promotion-cases-card-text>div:first-child div p:last-child::before {
  content: url('https://gusarov-group.by/seo/wp-content/uploads/2025/08/Polygon-2-1.svg');
  position: absolute;
  left: -15px;
  bottom: 2px;
}

.promotion-cases-card-text>div:last-child {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.promotion-cases-card-text>div:last-child div {
  display: flex;
  align-items: center;
}

.promotion-cases-card-text>div:last-child img {
  margin-right: 4px;
}

.hovered>div,
.hovered .promotion-cases-card-text>div:first-child div p:last-child,
.hovered .promotion-cases-card-text p,
.hovered .promotion-cases-card a {
  background: none;
  z-index: 1;
  color: white;
}

.hovered .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000b2;
  box-sizing: border-box;
}

.promotion-cases-container {
  max-width: 1320px;
  margin: 0 auto;
}

.promotion-cases h2 {
  padding: 0 10px;
}

.promotion-cases .swiper {
  height: calc(559px * 2 + 20px);
  width: calc(100% - 30px);
  padding: 10px;
}

.promotion-cases-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
  margin: 40px 0;
  gap: 15px;
}

.promotion-cases-tabs div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 calc(20% - 20px);
  height: 50px;
  box-sizing: border-box;
  border: 2px solid #ffc24b;
  transition: background-color 0.5s;
}

.promotion-cases-tabs div:hover {
  background: #ffc24b;
}

.promotion-cases-tabs p {
  font-weight: bold;
  font-size: 14px;
}

.promotion-cases-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: url('https://gusarov-group.by/seo/wp-content/uploads/2025/07/phone.jpg') no-repeat;
  background-size: cover;
  box-shadow: 0px 2px 15px 0px #0000001a;
  height: 560px;
}

.promotion-cases-card>div {
  background: #fff;
  padding: 30px;
}

.promotion-cases-card h4 {
  font-family: 'RadiateSans';
  font-size: clamp(14px, 2.5vw, 18px);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.promotion-cases-card-text>div:first-child h5 {
  font-family: 'Century Gothic';
  font-weight: bold;
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 10px;
}

.promotion-cases-card-text>div:first-child div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: 'Century Gothic';
  font-size: 16px;
}

.promotion-cases-card-text>div:first-child div p:last-child {
  font-family: 'RadiateSans';
  color: #378033;
}

.promotion-cases-card-text>div:last-child {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.promotion-cases-card-text>div:last-child div {
  display: flex;
  align-items: center;
}

.promotion-cases-card-text>div:last-child img {
  margin-right: 4px;
}

.hovered>div,
.hovered .promotion-cases-card-text>div:first-child div p:last-child,
.hovered .promotion-cases-card-text p {
  background: none;
  z-index: 1;
  color: white;
}

.promotion-cases-card .overlay {
  background: none;
}

.hovered .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000b2;
  box-sizing: border-box;
}

.promotion-cases-nav {
  display: flex;
  justify-content: center;
  margin: 30px 0 20px;
}

.promotion-cases-nav>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 434px;
  width: 100%;
  height: 50px;
}

.promotion-cases-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotion-cases-next,
.promotion-cases-prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid #ffc24b;
  cursor: pointer;
}

.promotion-cases-nav .swiper-pagination {
  position: relative;
  padding-top: 15px;
}

.promotion-cases .orange-select {
  display: none;
}

@media screen and (max-width: 1024px) {
  .promotion-cases-tabs div {
    flex: 1 1 calc(33% - 20px);
  }

  .promotion-cases-nav>div {
    width: auto;
  }
}

@media screen and (max-width: 500px) {
  .promotion-cases-container {
    padding: 50px 0;
  }

  .promotion-cases-card-text>div:last-child {
    flex-direction: column;
    height: 113px;
    font-size: 12px;
  }

  .promotion-cases-card-text>div:last-child p {
    font-size: 12px;
  }

  .promotion-cases-card-text>div:first-child div p {
    font-size: 12px;
  }

  .promotion-cases-card>div {
    padding: 15px;
  }

  .promotion-cases-tabs {
    display: none;
  }

  .promotion-cases .orange-select {
    display: block;
  }
}