/* ==========================================================================
   layanan.css: section "Layanan": tiga tingkat penawaran + add-on perawatan
   Mengikuti bahasa desain yang sama dengan base.css (kaca putih, sudut 30px,
   bayangan lembut, judul dengan font display).
   ========================================================================== */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 30px 30px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(247, 247, 249, .6));
  box-shadow: 0 25px 70px rgba(25, 30, 50, .055);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 90px rgba(25, 30, 50, .1);
}

/* Tingkat tengah diberi penanda visual: inilah yang paling sering dibutuhkan
   bisnis yang sudah berjalan, jadi fokus mata diarahkan ke sini. */
.tier.is-featured {
  background: linear-gradient(150deg, #16171a, #24262c);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 35px 90px rgba(20, 24, 40, .22);
}

.tier.is-featured h3,
.tier.is-featured .tier-price,
.tier.is-featured .tier-features b { color: #fff; }

.tier.is-featured .tier-for,
.tier.is-featured .tier-features span,
.tier.is-featured .tier-lead { color: #a9aab2; }

.tier.is-featured .tier-features li i { color: #8fa2ff; }

.tier-flag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(143, 162, 255, .16);
  border: 1px solid rgba(143, 162, 255, .3);
  color: #b3c1ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tier-step {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8b8c90;
  margin-bottom: 16px;
}

.tier h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin-bottom: 10px;
}

.tier-for {
  font-size: 13px;
  line-height: 1.55;
  color: #7c7d82;
  margin-bottom: 22px;
  min-height: 40px;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(17, 18, 20, .09);
}

.tier.is-featured .tier-price { border-bottom-color: rgba(255, 255, 255, .14); }

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}

.tier-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6f7075;
}

.tier-features li i {
  font-size: 12px;
  color: #5f7bff;
  padding-top: 4px;
}

.tier-features b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #17181b;
  margin-bottom: 1px;
}

.tier-lead {
  font-size: 12px;
  color: #8b8c90;
  margin-top: auto;
  margin-bottom: 20px;
}

.tier .btn {
  justify-content: center;
  width: 100%;
}

.tier.is-featured .btn.dark {
  background: #fff;
  color: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}

.tier.is-featured .btn.light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}

/* ---- add-on perawatan ---- */
.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 26px;
  background: rgba(255, 255, 255, .58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.addon-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #eef1ff, #f4edff);
  color: #6d82ff;
  font-size: 19px;
  flex-shrink: 0;
}

.addon-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -.035em;
  margin-bottom: 5px;
}

.addon-body p {
  font-size: 13px;
  color: #7c7d82;
  line-height: 1.6;
  max-width: 640px;
}

.addon-badge {
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ---- catatan penutup ---- */
.layanan-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #92939a;
  line-height: 1.65;
}

.layanan-note b { color: #55565c; }

/* ---- responsif ---- */
@media(max-width:1050px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { padding: 28px 26px; }
  .tier-for { min-height: 0; }
  .tier-flag { position: static; display: inline-block; margin-bottom: 14px; }
}

@media(max-width:640px) {
  .tier { padding: 26px 22px; border-radius: 26px; }
  .tier h3 { font-size: 26px; }
  .addon {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    text-align: left;
  }
  .addon-badge { justify-self: start; }
  .tier-features li { font-size: 13px; }
}

@media(prefers-reduced-motion:reduce) {
  .tier { transition: none; }
  .tier:hover { transform: none; }
}
