/* === Variabel warna brand (dari palet) === */
:root{
  --gm-blue-900:#001BB7; /* deep blue */
  --gm-blue-600:#0046FF; /* primary */
  --gm-orange:#FF8040;   /* accent */
  --gm-gray:#E9E9E9;     /* light bg */
}

/* === Utilitas kustom yang melengkapi Tailwind === */
.bg-gm-gradient{
  background: linear-gradient(180deg, var(--gm-blue-900) 0%, var(--gm-blue-600) 100%);
}

.shadow-soft{
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.ring-gm{
  box-shadow: 0 0 0 3px rgba(0,70,255,.15);
}

/* (Opsional) sentuhan kecil untuk fokus keyboard */
:focus-visible{
  outline: 3px solid rgba(0,70,255,.5);
  outline-offset: 2px;
}



/* ===== Pricing style (mirip contoh) ===== */
.price-card{
  display:flex; flex-direction:column;
  gap:.5rem;
  background:#fff; border:1px solid #E8E8EF; border-radius:1.25rem;
  padding:1.25rem 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.price-card.featured{
  border-color: rgba(0,70,255,.35);
  box-shadow: 0 30px 60px rgba(0,70,255,.12);
}

.chip{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.4rem .7rem; border-radius:9999px;
  font-size:.75rem; font-weight:600;
  background:#fff; border:1px solid #E6E6F0; color:#475569;
}
.chip-light{
  display:inline-flex; padding:.35rem .6rem; border-radius:9999px;
  font-size:.75rem; font-weight:600;
  background:#F3F6FF; color:var(--gm-blue-600); border:1px solid rgba(0,70,255,.12);
}

.btn-primary{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px; width:100%;
  border-radius:9999px; font-weight:700;
  background: linear-gradient(90deg, var(--gm-blue-900), var(--gm-blue-600));
  color:#fff; box-shadow: 0 12px 30px rgba(0,70,255,.25);
}
.btn-primary:hover{ filter:brightness(.98); }

.note{ margin-top:.6rem; font-size:.8rem; color:#94a3b8; }

/* mini tiles under cards */
.mini-tier{
  text-align:center; font-weight:700; font-size:.95rem;
  padding:.8rem 1rem; border-radius:9999px;
  background:#fff; border:1px dashed rgba(0,70,255,.25);
  color:#1f2937;
}
/* Tier badges */
.tier-badge{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.35rem .7rem; border-radius:9999px;
  font-size:.75rem; font-weight:800; letter-spacing:.2px; color:#fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.tier-basic   { background: linear-gradient(90deg,#64748b,#475569);}           /* slate */
.tier-bronze  { background: linear-gradient(90deg,#a16207,#b45309);}           /* amber/bronze */
.tier-silver  { background: linear-gradient(90deg,#9ca3af,#6b7280);}           /* gray silver */
.tier-gold    { background: linear-gradient(90deg,#f59e0b,#d97706);}           /* gold */
.tier-platinum{ background: linear-gradient(90deg,#001BB7,#0046FF);}           /* brand */
.tier-diamond { background: linear-gradient(90deg,#0ea5e9,#2563eb);}           /* sky→blue */
.tier-ultimate{ background: linear-gradient(90deg,#111827,#374151);}           /* dark */
/* Samakan tinggi kartu & tempelkan CTA di bawah */
.price-card{ display:flex; flex-direction:column; min-height: 420px; }
.price-card .btn-primary{ margin-top:auto; }

/* Badge untuk paket Gigabit (tetap pakai palet brand) */
.tier-gigabit{
  background: linear-gradient(90deg, var(--gm-blue-900), var(--gm-blue-600), var(--gm-orange));
}


/* Tinggi header (untuk hitung tinggi layar). Sesuaikan jika header-mu beda */
:root{ --header-h: 64px; }



/* ===== HERO with background image + gradient overlay ===== */
.hero{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  /* gambar hero (ganti sesuai file kamu) */
  background-image: url("assets/images/DSC00136.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* overlay gradasi brand: pekat di kiri → transparan ke kanan */
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,27,183,.95) 0%,
      rgba(0,70,255,.85) 35%,
      rgba(0,70,255,.55) 60%,
      rgba(0,70,255,.00) 100%);
}

/* noise lembut opsional biar teks makin kebaca (boleh dihapus) */
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(1200px 600px at 10% 20%, rgba(255,255,255,.08), transparent 70%);
}

/* pastikan konten di atas overlay */
.hero__inner{ position: relative; z-index: 1; }

/* responsif: di layar kecil gambar fokus ke tengah */
@media (max-width: 768px){
  .hero{ background-position: center; }
}

/* Kunci tinggi header agar layout stabil saat sticky */
:root { --header-h: 64px; }

/* Pastikan gambar logo tidak mendorong header membesar */
header img { display:block; }


/* Turunkan kontrol Leaflet supaya tidak menutupi header */
.leaflet-top,
.leaflet-bottom {
  z-index: 300; /* < header z-index */
}

/* Pastikan container peta berada di bawah header */
#coverageMap,
#coverageMap .leaflet-pane {
  z-index: 0;
}



/* ===== Service cards ===== */
.srv-card{
  position:relative; display:flex; flex-direction:column; gap:.6rem;
  background:#fff; border-radius:1.25rem; padding:1.1rem;
  border:1px solid #E8E8EF;
  box-shadow: 0 18px 36px rgba(0,0,0,.06);
  min-height: 210px; /* seragam */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.srv-card::after{
  /* garis gradien halus di atas (brand) */
  content:""; position:absolute; inset:0 0 auto 0; height:3px; border-radius:1.25rem 1.25rem 0 0;
  background: linear-gradient(90deg, var(--gm-blue-900), var(--gm-blue-600));
  opacity:.7;
}
.srv-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 48px rgba(0,70,255,.12);
  border-color: rgba(0,70,255,.35);
}

.srv-icon{
  height:40px; width:40px; border-radius:.75rem;
  display:grid; place-items:center;
  color:#fff;
  background: linear-gradient(135deg, var(--gm-blue-900), var(--gm-blue-600));
  box-shadow: 0 10px 22px rgba(0,70,255,.25);
}
.srv-title{ margin-top:.4rem; font-weight:800; }
.srv-desc{ margin-top:.15rem; font-size:.9rem; color:#64748b; }

.srv-tags{ margin-top:.5rem; display:flex; flex-wrap:wrap; gap:.4rem; }
.chip-light{ display:inline-flex; align-items:center; padding:.3rem .55rem;
  border-radius:9999px; font-size:.72rem; font-weight:600;
  background:#F3F6FF; color:var(--gm-blue-600); border:1px solid rgba(0,70,255,.12);
}

/* CTA kecil pojok kanan bawah */
.srv-cta{
  margin-top:auto; align-self:flex-start;
  font-weight:700; font-size:.85rem;
  color:var(--gm-blue-600);
  padding:.35rem .7rem; border-radius:.7rem;
  background: rgba(0,70,255,.08);
  transition: background .2s;
}
.srv-card:hover .srv-cta{ background: rgba(0,70,255,.14); }


/* ==== Membership badges ==== */
.badge-card{
  background:#fff; border:1px solid #E8E8EF; border-radius:1rem;
  padding:1.1rem; display:flex; flex-direction:column; align-items:center;
  box-shadow:0 18px 36px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.badge-card:hover{
  transform: translateY(-3px);
  box-shadow:0 26px 48px rgba(0,70,255,.12);
  border-color: rgba(0,70,255,.28);
}
.badge-logo{
  height:64px; width:auto; object-fit:contain;
  filter: grayscale(100%) contrast(1.05) opacity(.9);
  transition: filter .2s ease, transform .2s ease;
}
.badge-card:hover .badge-logo{
  filter: none; transform: scale(1.03);
}
