/* Слайдер «Особенно Хорошее место» на главной (задача Б24 568176).
   Макет: Figma «Фурор» → «Особенно Хорошее место — блок на главную».
   ≥1441 — макет 1920, 1201–1440 — макет 1440, ≤1200 — мобильный макет 360. */

.award-slider {
  overflow: hidden;
  color: #2a2a2a;
}

/* ---------- Шапка ---------- */
.award-slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.award-slider__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.award-slider__title {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  color: #2a2a2a;
}
.award-slider__title-accent {
  background: linear-gradient(90deg, #ff3d1c 0%, #ff990d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.award-slider__subtitle {
  margin: 0;
  font-size: 20.8px;
  font-weight: 400;
  line-height: 25px;
}
.award-slider__controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 30px;
}
.award-slider__counter {
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}
.award-slider__counter-current {
  color: #2a7831;
}
.award-slider__arrows {
  display: flex;
  gap: 8px;
}
.award-slider__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #123327;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}
.award-slider__arrow:hover {
  background: #2a7831;
}
.award-slider__arrow:focus-visible {
  outline: 2px solid #2a7831;
  outline-offset: 2px;
}
.award-slider__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
  background: #123327;
}
.award-slider__arrow svg {
  flex-shrink: 0;
}

/* ---------- Слайдер ---------- */
.award-slider__swiper {
  overflow: hidden;
}
.award-slider__slide {
  width: 100%;
  aspect-ratio: 1744 / 630;
  box-sizing: border-box;
}

/* Общие элементы карточек */
.award-slider__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.award-slider__texts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.award-slider__card-title {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.award-slider__descr {
  margin: 0;
  font-size: 20.8px;
  font-weight: 400;
  line-height: 25px;
  color: rgba(255, 255, 255, 0.85);
}
.award-slider__thanks {
  margin: 0;
  font-size: 20.8px;
  font-weight: 600;
  line-height: 25px;
  color: #b7f0c9;
}
.award-slider__btn {
  /* Кнопка свёрстана по макету, но временно скрыта по просьбе клиента (задача 568176).
     Чтобы показать — удалить display: none и поставить ссылку в href. */
  display: none;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 10.5px 17.5px;
  border-radius: 7px;
  background: #fff;
  color: #14392c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.award-slider__cup {
  position: absolute;
  z-index: 1;
  aspect-ratio: 1086 / 1448;
  pointer-events: none;
}
.award-slider__cup img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Слайд 1 — два филиала */
.award-slider__slide_branches {
  display: flex;
  gap: 20px;
}
.award-slider__card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  padding: 56px;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(180deg, #062f21 61.27%, #133729 87.3%);
}
.award-slider__card .award-slider__text {
  width: 60.9%; /* 592 из 972 — ширина карточки без отступов */
}
.award-slider__tag {
  align-self: flex-start;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.award-slider__card .award-slider__cup {
  top: -6.19%;
  right: -7.16%;
  height: 124.9%;
}
.award-slider__teams {
  display: flex;
  flex-direction: column;
  flex: 0 0 36.7%;
  gap: 20px;
}
.award-slider__team {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #d9d9d9;
}
.award-slider__team img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.award-slider__team_sokol img {
  object-position: 50% 0;
}
.award-slider__team_perovo img {
  object-position: 50% 51%;
}
.award-slider__team-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 16px;
  background: #fff;
  color: #123327;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

/* Слайд 2 — обновлённый старый блок */
.award-slider__slide_main {
  position: relative;
  display: flex;
  padding: 56px;
  border-radius: 24px;
  overflow: hidden;
  background:
    url("../img/special-place/slider/rays.webp") center / cover no-repeat,
    linear-gradient(69deg, #2ba77b 0%, #18825b 100%);
}
.award-slider__slide_main .award-slider__text {
  width: 45.3%; /* 740 из 1632 */
}
.award-slider__slide_main .award-slider__card-title {
  font-size: 46px;
  line-height: 1.12;
}
.award-slider__slide_main .award-slider__descr {
  font-size: 22px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.92);
}
.award-slider__slide_main .award-slider__cup {
  top: -6.98%; /* −44 из 630 */
  right: 5.78%; /* 101 из 1744 */
  height: 117.94%; /* 743 из 630 */
}

/* ---------- 1201–1440: макет 1440 ---------- */
@media (max-width: 1440px) {
  .award-slider__slide {
    aspect-ratio: 1301 / 500;
    min-height: 490px;
  }
  .award-slider__card .award-slider__text {
    width: 57.8%; /* 398 из 689 */
  }
  .award-slider__card-title {
    font-size: 34px;
  }
  .award-slider__descr,
  .award-slider__thanks {
    font-size: 17px;
    line-height: 21px;
  }
  .award-slider__slide_main .award-slider__text {
    width: 47.1%; /* 560 из 1189 */
  }
  .award-slider__slide_main .award-slider__card-title {
    font-size: 36px;
  }
  .award-slider__slide_main .award-slider__descr {
    font-size: 18px;
    line-height: 23px;
  }
  .award-slider__slide_main .award-slider__cup {
    top: -5.8%; /* −29 из 500 */
    right: 6.98%; /* 91 из 1301 */
    height: 112.6%; /* 563 из 500 */
  }
}

/* 1201–1300: узкая карточка — текст не заходит на кубок */
@media (max-width: 1300px) {
  .award-slider__card .award-slider__text {
    width: 50%;
  }
  .award-slider__slide_main .award-slider__text {
    width: 52%;
  }
  .award-slider__slide_main .award-slider__card-title {
    font-size: 32px;
  }
}

/* ---------- ≤1200: мобильный макет ---------- */
@media (max-width: 1200px) {
  .award-slider__title {
    font-size: 40px;
  }
  .award-slider__subtitle {
    font-size: 18px;
    line-height: 1.2;
  }
  .award-slider__swiper {
    overflow: visible;
  }
  .award-slider__slide {
    width: calc(100% - 14px);
    min-height: 0;
    aspect-ratio: auto;
  }
  .award-slider__br-desk {
    display: none;
  }
  .award-slider__text {
    position: static;
    width: auto !important;
    justify-content: flex-start;
  }
  .award-slider__texts {
    gap: 20px;
  }
  .award-slider__btn {
    position: absolute;
    z-index: 3;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .award-slider__cup {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 240px;
    aspect-ratio: auto;
    overflow: hidden;
  }
  .award-slider__cup img {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 225px;
    height: 300px;
    transform: translateX(-50%);
  }

  /* Слайд 1 */
  .award-slider__slide_branches {
    flex-direction: column;
  }
  .award-slider__card {
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px 0;
    border-radius: 20px;
  }
  .award-slider__card .award-slider__cup {
    top: auto;
    right: auto;
    height: 240px;
  }
  .award-slider__card-title {
    font-size: 26px;
  }
  .award-slider__descr,
  .award-slider__thanks {
    font-size: 16px;
    line-height: 20px;
  }
  .award-slider__teams {
    flex: 0 0 auto;
    flex-direction: row;
  }
  .award-slider__team {
    flex: 1 1 0;
    aspect-ratio: 316 / 150;
    border-radius: 20px;
  }

  /* Слайд 2 */
  .award-slider__slide_main {
    flex-direction: column;
    padding: 0;
    border-radius: 20px;
    background:
      url("../img/special-place/slider/rays.webp") center / cover no-repeat,
      linear-gradient(29deg, #2ba77b 0%, #18825b 100%);
  }
  .award-slider__slide_main .award-slider__text {
    padding: 20px 20px 0;
  }
  .award-slider__slide_main .award-slider__texts {
    gap: 12px;
  }
  .award-slider__slide_main .award-slider__card-title {
    font-size: 30px;
  }
  .award-slider__slide_main .award-slider__descr {
    font-size: 16px;
    line-height: 20px;
  }
  .award-slider__slide_main .award-slider__cup {
    top: auto;
    right: auto;
    height: 250px;
  }
  .award-slider__slide_main .award-slider__cup img {
    top: -10px;
    width: 202px;
    height: 270px;
  }
}

@media (max-width: 768px) {
  .award-slider__head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
  }
  .award-slider__heading {
    gap: 20px;
  }
  .award-slider__title {
    font-size: 28px;
  }
  .award-slider__title > span {
    display: block;
  }
  .award-slider__subtitle {
    font-size: 16px;
    line-height: 19px;
  }
  .award-slider__controls {
    justify-content: space-between;
  }
  .award-slider__counter {
    font-size: 16px;
  }
  .award-slider__arrow {
    width: 47px;
    height: 47px;
    border: 0;
  }
  .award-slider__tag {
    font-size: 14px;
  }
  .award-slider__teams {
    flex-direction: column;
  }
  .award-slider__team {
    flex: 0 0 auto;
    width: 100%;
  }
  .award-slider__team-label {
    left: 12px;
    bottom: 12px;
    font-size: 14px;
  }
  .award-slider__slide_main {
    background:
      url("../img/special-place/slider/rays-mob.webp") top center / 100% auto no-repeat,
      linear-gradient(29deg, #2ba77b 0%, #18825b 100%);
  }
  .award-slider__slide_main .award-slider__card-title {
    font-size: 24px;
  }
}
