/* ========== WHY US — по макету (шрифт темы сайта) ========== */
.why-us-section {
  background: #fff;
  border-bottom: 1px solid #e7e9ee;
}

.why-us-section__inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.why-us-section .mod-custom {
  display: contents;
}

.why-us {
  width: 100%;
}

.why-us__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: stretch;
  margin-bottom: 48px;
}

.why-us__intro {
  max-width: 460px;
  padding-top: 8px;
}

.why-us__eyebrow {
  margin: 0 0 16px;
  color: #e30613;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.why-us__title {
  margin: 0 0 20px;
  color: #1d1d1b;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  max-width: 361px;
}

.why-us__text {
  margin: 0 0 28px;
  color: #4e5459;
  font-size: 16px;
  font-weight: 400;
  line-height: 27.2px;
  max-width: 444px;
}

.why-us__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.why-us__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.why-us__btn--primary {
  background: #e73039;
  border: 1px solid #e73039;
  color: #fff !important;
}

.why-us__btn--primary:hover {
  background: #c9222b;
  border-color: #c9222b;
  color: #fff !important;
}

.why-us__btn--secondary {
  background: #fff;
  border: 1px solid #e73039;
  color: #1d1d1b !important;
}

.why-us__btn--secondary:hover {
  background: #fff5f5;
  color: #1d1d1b !important;
}

.why-us__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #eef2f4;
  align-self: stretch;
}

.why-us__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.why-us__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-us__card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 23px;
  min-width: 0;
}

.why-us__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 14px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.why-us__icon--price {
  background: #fecc0f;
  color: #1d1d1b;
}

.why-us__icon--hotels {
  background: #e73039;
  color: #fff;
}

.why-us__icon--support {
  background: #1d1d1b;
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.5px;
}

.why-us__icon--all {
  background: #f2f2f2;
  color: #e73039;
}

.why-us__card-title {
  margin: 0 0 8px;
  color: #1d1d1b;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1;
}

.why-us__card-text {
  margin: 0;
  color: #6e7276;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 22.48px;
}

@media screen and (max-width: 1199px) {
  .why-us-section__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .why-us__top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .why-us__intro {
    max-width: none;
    padding-top: 0;
  }

  .why-us__title {
    max-width: none;
    font-size: 28px;
  }

  .why-us__text {
    max-width: none;
  }

  .why-us__media {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .why-us__media img {
    position: absolute;
    inset: 0;
  }

  .why-us__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .why-us__card {
    padding: 23px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
  }
}

@media screen and (max-width: 767px) {
  .why-us-section__inner {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .why-us__top {
    gap: 20px;
    margin-bottom: 20px;
  }

  .why-us__eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .why-us__title {
    font-size: 24px;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .why-us__text {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 24px;
  }

  .why-us__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .why-us__btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 18px;
  }

  .why-us__media {
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }

  .why-us__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-us__card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 23px;
    margin: 0;
  }

  .why-us__icon {
    width: 42px;
    height: 42px;
    margin: 0 0 14px;
  }

  .why-us__card-title {
    margin: 0 0 8px;
    font-size: 17.5px;
  }

  .why-us__card-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 22px;
  }
}

