/* =========================================
   SM SQUARE Swalayan — Landing Page
   ========================================= */
:root {
  --blue-900: #0b3a63;
  --blue-700: #0f4c81;
  --blue-500: #155e9c;
  --teal: #22a6b3;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg-light: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 76, 129, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1140px, 92%); margin-inline: auto; }

.section { padding: 72px 0; }
.section-kicker {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.section-kicker--light { color: var(--orange); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-900); margin-bottom: 24px; }
.section-title--light { color: var(--white); }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--outline {
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.btn--outline:hover { background: var(--blue-700); color: var(--white); }

/* ===== Topbar ===== */
.topbar { background: var(--blue-900); color: #cbd5e1; font-size: 0.8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
  font-size: 0.65rem; font-weight: 700; color: var(--white);
  transition: background 0.2s;
}
.topbar__social a:hover { background: var(--orange); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.header__brand { display: flex; align-items: center; gap: 10px; }
.header__logo { height: 46px; width: auto; }
.header__name { color: var(--blue-900); font-weight: 800; line-height: 1.1; font-size: 1rem; }
.header__name small { font-weight: 600; color: var(--teal); font-size: 0.75rem; letter-spacing: 2px; }

.nav { display: flex; gap: 6px; }
.nav__link {
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav__link:hover { color: var(--blue-700); background: var(--bg-light); }
.nav__link--active { background: var(--blue-700); color: var(--white); }

.hamburger { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--blue-900); }

/* ===== Hero Slider ===== */
.hero { position: relative; overflow: hidden; }
.hero__slides { position: relative; height: min(78vh, 560px); }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s ease;
}
/* latar gambar di layer terpisah agar efek zoom tidak menggeser teks */
.hero__slide::before {
  content: "";
  position: absolute; inset: 0;
  background-color: var(--blue-900);
  background-image: var(--hero-img, linear-gradient(135deg, var(--blue-900), var(--blue-700)));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__slide--active { opacity: 1; }
.hero__slide--active::before { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
/* Slide selamat datang: background toko tampil lebih zoom */
.hero__slide--store::before { z-index: 0; transform: scale(1.18); }
.hero__slide--store.hero__slide--active::before { animation: heroZoomStore 14s ease-out forwards; }
@keyframes heroZoomStore {
  from { transform: scale(1.18); }
  to { transform: scale(1.34); }
}
.hero__slide--store .hero__overlay { z-index: 1; }
.hero__slide--store .hero__content { z-index: 2; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 58, 99, 0.85) 0%, rgba(11, 58, 99, 0.55) 50%, rgba(11, 58, 99, 0.15) 100%);
}
.hero__overlay--soft {
  background: linear-gradient(90deg, rgba(11, 58, 99, 0.25) 0%, rgba(11, 58, 99, 0.1) 50%, rgba(11, 58, 99, 0) 100%);
}
/* Slide toko: overlay gelap kiri agar teks terbaca */
.hero__overlay--store {
  background: linear-gradient(90deg, rgba(6, 32, 54, 0.88) 0%, rgba(11, 58, 99, 0.6) 45%, rgba(11, 58, 99, 0.12) 100%);
}
.hero__slide--store .hero__content {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  max-width: 700px;
}
.hero__slide--store .hero__subtitle { color: #f1f5f9; }
.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); max-width: 640px;
}
.hero__kicker { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 10px; }
.hero__title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin-bottom: 14px; }
.hero__subtitle { font-size: 1rem; color: #e2e8f0; margin-bottom: 26px; max-width: 480px; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.25); color: var(--white);
  font-size: 1.1rem; backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero__arrow:hover { background: var(--orange); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

.hero__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero__dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, transform 0.2s;
}
.hero__dots button.hero__dot--active { background: var(--orange); transform: scale(1.3); }

/* ===== Tentang Kami ===== */
.about { background: var(--bg-light); }
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; bottom: -20px; right: -10px;
  background: linear-gradient(135deg, var(--blue-700), var(--teal));
  color: var(--white); border-radius: var(--radius);
  padding: 14px 22px; text-align: center;
  box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-size: 1.6rem; }
.about__badge span { font-size: 0.75rem; }
.about__text p { color: var(--muted); margin-bottom: 14px; }
.about__slogan {
  color: var(--blue-700) !important;
  font-weight: 800; font-style: italic; font-size: 1.05rem;
}
.about__points { list-style: none; margin-bottom: 22px; }
.about__points li { margin-bottom: 8px; color: var(--ink); font-weight: 500; }
.about__gallery { margin-top: 56px; text-align: center; }
.about__gallery .section-title { margin-bottom: 28px; }
.about__gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about__gallery-grid img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.about__gallery-grid img:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 36px rgba(15, 76, 129, 0.2); }

/* ===== Layanan ===== */
.services {
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 166, 179, 0.35), transparent 45%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
}
.services .section-title { text-align: center; }
.services .section-kicker { display: block; text-align: center; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.service-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: transform 0.25s, background 0.25s;
}
.service-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.13); }
.service-card__icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: grid; place-items: center; font-size: 1.6rem;
}
.service-card h3 { font-size: 1rem; letter-spacing: 1px; margin-bottom: 10px; }
.service-card p { font-size: 0.85rem; color: #dbe4ee; margin-bottom: 14px; }
.service-card__link { color: var(--orange); font-weight: 700; font-size: 0.8rem; }

/* ===== Promo ===== */
.promo { background: var(--white); }
.promo .section-title { text-align: center; }
.promo .section-kicker { display: block; text-align: center; }
.promo__tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.promo__tab {
  padding: 10px 22px; border-radius: 999px;
  border: 2px solid var(--blue-700);
  background: transparent; color: var(--blue-700);
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.promo__tab:hover { background: var(--bg-light); }
.promo__tab--active { background: var(--blue-700); color: var(--white); }

.promo__panel { display: none; }
.promo__panel--active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.promo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promo-card {
  display: block;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid #e5eaf1; background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.promo-card:hover .promo-card__title { color: var(--orange); }
.promo-card:not(.promo-card--static) { cursor: pointer; }
.promo-card .service-card__link { display: inline-block; margin-top: 4px; }
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.promo-card__img { aspect-ratio: 3 / 4; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.promo-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: var(--white);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px;
}
.promo-card__body { padding: 14px 16px; }
.promo-card__title { font-weight: 700; font-size: 0.92rem; color: var(--blue-900); margin-bottom: 6px; }
.promo-card__period { font-size: 0.75rem; color: var(--muted); }

/* ===== Berita ===== */
.news { background: var(--bg-light); }
.news .section-title { text-align: center; }
.news .section-kicker { display: block; text-align: center; }
.news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.news-card__body { padding: 16px; }
.news-card__date { font-size: 0.72rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.news-card__title { font-size: 0.95rem; font-weight: 700; color: var(--blue-900); margin: 6px 0 10px; line-height: 1.4; }
.news-card__link { font-size: 0.8rem; font-weight: 700; color: var(--teal); }
.news__more { text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--blue-900); color: #cbd5e1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.footer__col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 10px; }
.footer__col p { font-size: 0.88rem; margin-bottom: 16px; }
.footer__col a:hover { color: var(--orange); }
.footer__brand p { margin-top: 14px; max-width: 280px; }
.footer__logo { height: 56px; width: auto; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; text-align: center; font-size: 0.8rem; }

/* ===== Tombol WhatsApp mengambang ===== */
.wa-float-group {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wa-float {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, opacity 0.25s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

/* tombol nomor: tersembunyi sampai toggle diklik */
.wa-float--first,
.wa-float--second {
  opacity: 0;
  transform: translateY(20px) scale(0.5);
  pointer-events: none;
  background: #128c7e;
  position: relative;
}
.wa-float-group.wa-open .wa-float--first,
.wa-float-group.wa-open .wa-float--second {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa-float-group.wa-open .wa-float--first:hover,
.wa-float-group.wa-open .wa-float--second:hover {
  transform: scale(1.1);
}

/* label nomor di samping tombol */
.wa-float--first::after,
.wa-float--second::after {
  content: attr(data-number);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.wa-float--first:hover::after,
.wa-float--second:hover::after {
  opacity: 1;
}

/* ikon toggle berubah jadi X saat terbuka */
.wa-float--toggle {
  transition: transform 0.3s;
}
.wa-float-group.wa-open .wa-float--toggle {
  transform: rotate(90deg);
}

/* ===== Halaman Member & Poin ===== */
.page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.25), transparent 45%),
    linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: var(--white);
  padding: 72px 0;
}
.page-hero__content { max-width: 640px; }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.page-hero__media img {
  width: 100%; max-height: 380px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

.stats { background: var(--bg-light); border-bottom: 1px solid #e5eaf1; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px 0; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--blue-700);
  font-weight: 800;
}
.stat span { font-size: 0.85rem; color: var(--muted); }

.steps {
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 166, 179, 0.35), transparent 45%),
    linear-gradient(135deg, var(--blue-900), var(--blue-700));
}
.steps .section-title { text-align: center; }
.steps .section-kicker { display: block; text-align: center; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  text-align: center;
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: transform 0.25s;
}
.step-card:hover { transform: translateY(-6px); }
.step-card__num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}
.step-card__icon { font-size: 2rem; margin-bottom: 10px; }
.step-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.step-card p { font-size: 0.82rem; color: #dbe4ee; }

.tier { background: var(--bg-light); }
.tier__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.tier__calc { text-align: center; }
.tier__calc .section-kicker { display: block; }
.tier__calc .section-title { text-align: center; }
.point-table {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.point-table th {
  background: var(--blue-700); color: var(--white);
  padding: 12px 18px; text-align: center; font-size: 0.88rem;
}
.point-table td { padding: 12px 18px; border-top: 1px solid #eef2f7; font-size: 0.9rem; text-align: center; }
.point-table tr:nth-child(even) td { background: #f8fafd; }
.tier__note { margin-top: 12px; font-size: 0.75rem; color: var(--muted); text-align: center; }
.tier__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit-card {
  margin: 0; background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15, 76, 129, 0.2); }
.benefit-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.benefit-card figcaption {
  padding: 16px 20px; font-weight: 700; font-size: 0.95rem;
  color: var(--blue-900); text-align: center;
}

.redeem-grid { grid-template-columns: repeat(4, 1fr); }
.redeem-card p { color: var(--orange); font-weight: 800; font-size: 0.95rem !important; }
.redeem-card .service-card__link { cursor: pointer; }

/* ===== Halaman Download ===== */
.dl-box {
  max-width: 760px; margin-inline: auto; text-align: center;
  background: var(--bg-light); border: 1px solid #e5eaf1;
  border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow);
}
.dl-box .section-title { margin-bottom: 12px; }
.dl-box .section-kicker { display: block; }
.dl-url {
  background: var(--white); border: 1px dashed var(--blue-700);
  border-radius: 10px; padding: 12px 16px; margin: 16px 0;
  font-size: 0.85rem; color: var(--blue-700); font-weight: 600;
  word-break: break-all;
}
.dl-meta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.dl-meta span { background: var(--white); border: 1px solid #e5eaf1; border-radius: 999px; padding: 4px 14px; }

.cta-app { background: var(--bg-light); }
.cta-app__inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center;
}
.cta-app__text h2 { color: var(--blue-900); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-app__text p { color: var(--muted); margin-bottom: 24px; }
.cta-app__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-app__card {
  background: linear-gradient(135deg, var(--blue-700), var(--teal));
  border-radius: 20px;
  padding: 34px 30px;
  color: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: transform 0.3s;
}
.cta-app__card:hover { transform: rotate(0deg) scale(1.03); }
.cta-app__brand { font-weight: 800; letter-spacing: 2px; opacity: 0.85; font-size: 0.85rem; }
.cta-app__points { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin: 14px 0; }
.cta-app__points small { font-size: 0.9rem; font-weight: 600; opacity: 0.8; }
.cta-app__holder {
  font-size: 0.75rem; letter-spacing: 2px;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  padding-top: 14px; opacity: 0.85;
}

.faq__inner { max-width: 760px; }
.faq .section-title { text-align: center; }
.faq .section-kicker { display: block; text-align: center; }
.faq-item {
  background: var(--white);
  border: 1px solid #e5eaf1;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--blue-900);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem; color: var(--orange);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .tier__inner, .cta-app__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .tier__cards { grid-template-columns: 1fr; }
  .page-hero__media img { max-height: 300px; }
  .redeem-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .steps__grid { grid-template-columns: 1fr; }
  .redeem-grid { grid-template-columns: 1fr; }
  .cta-app__actions { flex-direction: column; }
}

/* ===== Halaman Detail Promo ===== */
.page-hero--compact { padding: 48px 0; }
.hero__title--small { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
.back-link { color: var(--orange); font-weight: 700; }
.back-link:hover { text-decoration: underline; }

.detail__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail__image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 166, 179, 0.25), transparent 50%),
    linear-gradient(135deg, var(--blue-900), var(--blue-500));
  min-height: 260px;
  margin-bottom: 24px;
}
.detail__image-wrap img { width: 100%; height: auto; display: block; }
.detail__desc p { color: var(--muted); margin-bottom: 16px; }

.detail-items { grid-template-columns: repeat(3, 1fr); }
.item-card .promo-card__img { aspect-ratio: 1 / 1; }
.item-price { font-size: 0.95rem; color: var(--blue-900); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.item-price b { color: var(--orange); font-size: 1.05rem; }
.item-price del { color: var(--muted); font-size: 0.82rem; }

.detail__side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.detail-info-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #e5eaf1;
}
.detail-info-card h3 { color: var(--blue-900); font-size: 1rem; margin-bottom: 14px; }
.detail-info-card ul { list-style: none; }
.detail-info-card li { font-size: 0.88rem; margin-bottom: 10px; color: var(--ink); }
.detail-info-card--note p { font-size: 0.82rem; color: var(--muted); }
.wa-order-btn { width: 100%; text-align: center; margin-top: 14px; }

@media (max-width: 960px) {
  .detail__inner { grid-template-columns: 1fr; }
  .detail__side { position: static; }
  .detail-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .detail-items { grid-template-columns: 1fr; }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal--visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .services__grid, .promo__grid, .news__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; padding: 12px 5%;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    display: none;
  }
  .nav.nav--open { display: flex; }
  .hamburger { display: block; }
  .topbar__contact span:last-child { display: none; }
  .services__grid, .promo__grid, .news__grid { grid-template-columns: 1fr; }
  .about__gallery-grid { grid-template-columns: 1fr; }
  .about__gallery-grid img { height: 220px; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { right: 10px; }
}
