/* ================================
RESET & BASE
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.75;
  background: #fff;
}

/* ================================
SECTION CONTAINER (RAPI & PADAT)
================================ */
.promo-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 20px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================================
HEADER (RAPI)
================================ */
.promo-header {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.promo-tag {
  color: #d60000;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}

.promo-header h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 820px;
}

.promo-desc {
  max-width: 680px;
  margin: 0 auto;
  color: #666;
  font-size: 15.5px;
  text-align: center;
}

/* ================================
GRID PRODUK DEFAULT 2x2 (TANPA CLASS TAMBAHAN)
================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ LANGSUNG 2–2 */
  gap: 28px; /* ✅ lebih rapat & rapi */
  align-items: stretch;
  margin-bottom: 30px;
}

/* MATIKAN TOTAL MODE SELANG-SELING */
.promo-grid.reverse .promo-text,
.promo-grid.reverse .promo-image {
  order: unset;
}

/* ================================
KARTU PRODUK (TEKS)
================================ */
.promo-text {
  max-width: 100%;
  text-align: center;
  padding: 8px 6px;
}

.promo-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-text p {
  color: #555;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ================================
KARTU PRODUK (GAMBAR)
================================ */
.promo-image {
  width: 100%;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
}

.promo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.promo-image:hover img {
  transform: scale(1.05);
}

/* ================================
RESPONSIVE TABLET (TETAP 2 KOLOM)
================================ */
@media (max-width: 992px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 25px;
  }

  .promo-header h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .promo-text h3 {
    font-size: 22px;
  }

  .promo-text p {
    font-size: 14.8px;
  }

  .promo-image {
    min-height: 180px;
  }
}

/* ================================
RESPONSIVE HP (JADI 1 KOLOM)
================================ */
@media (max-width: 768px) {
  .promo-section {
    padding: 50px 16px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 20px;
  }

  .promo-header {
    margin-bottom: 46px;
  }

  .promo-header h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .promo-desc {
    font-size: 14.5px;
  }

  .promo-text h3 {
    font-size: 22px;
  }

  .promo-text p {
    font-size: 14.5px;
  }

  .promo-image {
    min-height: 180px;
    border-radius: 16px;
  }
}

/* ================================
GAMBAR SELALU DI ATAS (HP ONLY)
================================ */
@media (max-width: 768px) {
  /* Ubah grid menjadi flex agar order bisa bekerja */
  .promo-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
  }

  /* Gambar selalu di atas */
  .promo-image {
    order: 1 !important;
  }

  /* Teks selalu di bawah */
  .promo-text {
    order: 2 !important;
  }
}
