/* =========================================================
   PROMO RUTE FINAL
   Digunakan bersama css/detail-rute.css
   ========================================================= */

.route-other-promo {
  position: relative;
  z-index: 4;
  padding: 88px 0 82px;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(22, 134, 207, 0.08),
      transparent 26%
    ),
    #f6f9fd;
  border-bottom: 1px solid #e5edf6;
}

.other-promo-heading {
  max-width: 790px;
  margin: 0 auto 44px;
}

.other-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 17px;
  color: #ffffff;
  background: linear-gradient(135deg, #d62327, #ef4145);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(214, 35, 39, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.other-promo-heading h2 {
  margin-bottom: 14px;
  color: #172c50;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.17;
}

.other-promo-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: #68778c;
  font-size: 1rem;
  line-height: 1.75;
}

.mini-promo-card {
  display: flex;
  height: 100%;
  min-height: 360px;
  padding: 28px;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e1e9f3;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(23, 44, 80, 0.08);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.mini-promo-card:hover {
  transform: translateY(-8px);
  border-color: #cbdcf0;
  box-shadow: 0 24px 52px rgba(23, 44, 80, 0.14);
}

.mini-promo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}

.mini-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: #ffffff;
  background: #d62327;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
}

.mini-promo-status {
  color: #16864b;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.mini-promo-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: #23b26d;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(35, 178, 109, 0.12);
}

.mini-promo-card h3 {
  margin-bottom: 12px;
  color: #173b72;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

.mini-promo-card > p {
  min-height: 78px;
  margin-bottom: 19px;
  color: #68778c;
  line-height: 1.7;
}

.mini-promo-period {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
  padding-bottom: 20px;
  color: #1a5ba5;
  border-bottom: 1px solid #e5ecf4;
  font-size: 0.83rem;
  font-weight: 700;
}

.mini-promo-period i {
  color: #1686cf;
}

.mini-promo-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.mini-promo-price span {
  display: block;
  margin-bottom: 3px;
  color: #7a8799;
  font-size: 0.83rem;
}

.mini-promo-price > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.mini-promo-price strong {
  color: #d62327;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.mini-promo-price small {
  color: #748399;
  font-size: 0.78rem;
}

.btn-mini-promo {
  display: inline-flex;
  min-width: 132px;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: #ffffff;
  background: #173f78;
  border: 1px solid #173f78;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.btn-mini-promo:hover {
  color: #ffffff;
  background: #d62327;
  border-color: #d62327;
  transform: translateY(-2px);
}

/* Hapus efek mengambang Ringkasan Rute karena sekarang
   terdapat section Promo Lainnya di antara Hero dan Ringkasan. */
.route-other-promo + .route-summary-section {
  margin-top: 0;
  padding-top: 66px;
  padding-bottom: 80px;
  background: #ffffff;
}

.route-other-promo + .route-summary-section .route-summary-card {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .route-other-promo {
    padding: 72px 0 68px;
  }

  .other-promo-heading {
    margin-bottom: 37px;
  }

  .mini-promo-card {
    min-height: 345px;
  }

  .route-other-promo + .route-summary-section {
    padding-top: 58px;
  }
}

@media (max-width: 767.98px) {
  .route-other-promo {
    padding: 62px 0 58px;
  }

  .other-promo-heading {
    margin-bottom: 32px;
  }

  .other-promo-heading p {
    font-size: 0.93rem;
  }

  .mini-promo-card {
    min-height: auto;
    padding: 24px;
  }

  .mini-promo-card > p {
    min-height: auto;
  }

  .route-other-promo + .route-summary-section {
    margin-top: 0;
    padding-top: 52px;
    padding-bottom: 68px;
  }
}

@media (max-width: 575.98px) {
  .route-other-promo {
    padding: 52px 0 50px;
  }

  .other-promo-label {
    padding: 7px 13px;
    font-size: 0.67rem;
  }

  .other-promo-heading h2 {
    font-size: 1.85rem;
  }

  .mini-promo-card {
    padding: 21px 19px;
    border-radius: 18px;
  }

  .mini-promo-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 19px;
  }

  .mini-promo-card h3 {
    font-size: 1.18rem;
  }

  .mini-promo-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-mini-promo {
    width: 100%;
  }

  .route-other-promo + .route-summary-section {
    padding-top: 45px;
  }
}

/* =========================================================
   HERO PROMO RUTE
   ========================================================= */

.route-promo-hero {
  position: relative;
}

.route-promo-hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 340px;
  height: 340px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* Label promo */

.promo-hero-label {
  color: #ffffff;
  background: linear-gradient(135deg, #d62327, #ef3f43);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(214, 35, 39, 0.25);
}

.promo-hero-label i {
  color: #ffffff;
}

/* Kotak harga promo */

.promo-price-box {
  width: 100%;
  max-width: 590px;
  margin-bottom: 28px;
  padding: 24px 26px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      rgba(4, 25, 56, 0.88),
      rgba(7, 59, 111, 0.82)
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(2, 20, 45, 0.25);
  backdrop-filter: blur(12px);
}

/* Bagian atas harga */

.promo-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.promo-price-title {
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.94rem;
  font-weight: 700;
}

.promo-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  background: #d62327;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(214, 35, 39, 0.28);
}

/* Harga normal */

.promo-normal-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 13px;
  margin-bottom: 7px;
}

.promo-normal-price span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  font-weight: 600;
}

.promo-normal-price del {
  color: #ffbec0;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-decoration-color: #ff6c70;
}

/* Harga promo utama */

.promo-main-price {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin-bottom: 17px;
}

.promo-main-price small {
  padding-bottom: 10px;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
}

.promo-main-price strong {
  color: #ffffff;
  font-size: clamp(3.5rem, 7vw, 5.7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.promo-main-price span {
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Informasi promo */

.promo-information {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.promo-information span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.87rem;
  font-weight: 600;
}

.promo-information i {
  color: #ff4f54;
  font-size: 1rem;
}

.promo-terms {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* Badge pada gambar */

.promo-visual-card {
  position: relative;
}

.promo-image-badge {
  position: absolute;
  top: 24px;
  left: -22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 250px;
  padding: 13px 17px;
  color: #ffffff;
  background: linear-gradient(135deg, #d62327, #f0474b);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  box-shadow: 0 15px 32px rgba(88, 14, 17, 0.28);
}

.promo-image-badge > i {
  flex: 0 0 auto;
  font-size: 1.45rem;
}

.promo-image-badge span,
.promo-image-badge strong {
  display: block;
}

.promo-image-badge span {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-image-badge strong {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.25;
}

/* Responsif tablet */

@media (max-width: 991.98px) {
  .promo-price-box {
    max-width: 650px;
  }

  .promo-image-badge {
    top: 22px;
    left: 22px;
  }
}

/* Responsif HP */

@media (max-width: 767.98px) {
  .promo-price-box {
    padding: 22px;
    border-radius: 18px;
  }

  .promo-price-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .promo-main-price strong {
    font-size: 4rem;
  }

  .promo-information {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .promo-image-badge {
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 575.98px) {
  .promo-price-box {
    margin-bottom: 23px;
    padding: 19px 17px;
    border-radius: 16px;
  }

  .promo-price-title {
    font-size: 0.86rem;
  }

  .promo-discount-badge {
    padding: 6px 10px;
    font-size: 0.67rem;
  }

  .promo-main-price {
    gap: 5px;
    margin-bottom: 15px;
  }

  .promo-main-price small {
    padding-bottom: 7px;
    font-size: 1.05rem;
  }

  .promo-main-price strong {
    font-size: 3.25rem;
  }

  .promo-main-price span {
    padding-bottom: 7px;
    font-size: 0.9rem;
  }

  .promo-information span {
    font-size: 0.78rem;
  }

  .promo-terms {
    font-size: 0.7rem;
  }

  .promo-image-badge {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 13px;
    border-radius: 12px;
  }
}