/* =========================
   GLOBAL
========================= */
:root{
  --sky:#A9D8FF;
  --navy:#0B2A4A;
  --orange:#FF7A1A;
  --bg:#FFFFFF;
  --soft:#F4F9FF;
  --soft2:#F7F7FB;
  --text:#0E1B2A;
  --muted:#5C6B7A;
  --border:#E7EEF7;
  --card:#FFFFFF;

  --radius:18px;
  --shadow: 0 12px 34px rgba(11,42,74,.10);

  --green:#16a34a;            /* WA */
  --green2:#22c55e;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0; padding:0}
body{
  font-family:var(--font);
  background: var(--bg);
  color: var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}

/* motion safety */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important; transition:none!important; scroll-behavior:auto!important}
}

/* reusable subtle hover */
@media (hover:hover){
  .card-hover{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .card-hover:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(11,42,74,.10);
    border-color: rgba(11,42,74,.14);
  }
}

/* =========================
   HEADER
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  /* dibuat lebih “hidup” tapi tidak terlalu terang (mirip vibe capaian) */
  background:
    radial-gradient(900px 520px at 18% 30%, rgba(255,255,255,.05), transparent 62%),
  radial-gradient(680px 420px at 80% 65%, rgba(80,120,220,.10), transparent 60%),
  linear-gradient(135deg,
    #050f1f 0%,
    #0a1f3f 45%,
    #12335f 75%,
    #071427 100%
  );
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 56px;
  gap: 16px;
}

.brand{display:flex; align-items:center; gap:10px;}
.brand-logo{height:26px; width:auto; display:block;}

.nav{
  display:flex;
  align-items:center;
  gap: 26px;
}

.site-header .nav-link{
  color: rgba(255,255,255,.95);
  position: relative;
  transition: color .2s ease;
}

.site-header .nav-link:hover{
  color: #fff;
}

/* animasi underline menu */
.site-header .nav-link::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background:#fff;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
}
.site-header .nav-link:hover::after{
  transform:scaleX(1);
}

/* WA button (Header) -> hijau + hover */
.btn-wa{
  background: linear-gradient(135deg, var(--green), var(--green2));
  color:#fff;
  padding: 9px 14px;
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(22,163,74,.22);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
@media (hover:hover){
  .btn-wa:hover{
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(22,163,74,.28);
  }
}

/* hamburger */
.btn-burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  cursor:pointer;
  position:relative;
}
.btn-burger .line{
  position:absolute;
  left:50%;
  width:20px;
  height:2px;
  background:var(--navy);
  border-radius:999px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.btn-burger .l1{ top: 14px; }
.btn-burger .l2{ top: 21px; }
.btn-burger .l3{ top: 28px; }
.btn-burger.active .l1{ top: 21px; transform: translateX(-50%) rotate(45deg); }
.btn-burger.active .l2{ opacity:0; }
.btn-burger.active .l3{ top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* =========================
   FIX BURGER di HEADER GRADASI
   (taruh PALING BAWAH site.css)
========================= */

.site-header .btn-burger{
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  backdrop-filter: blur(8px);
}

.site-header .btn-burger .line{
  background: #fff !important;
}

/* biar tombolnya keliatan "nyatu", sedikit hover */
@media (hover:hover){
  .site-header .btn-burger:hover{
    background: rgba(255,255,255,.20) !important;
    border-color: rgba(255,255,255,.35) !important;
  }
}


/* Mobile menu */
@media (max-width: 860px){
  .nav{ display:none; }
  .btn-burger{ display:inline-flex; align-items:center; justify-content:center; }

  .btn-wa{
    display:none;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .nav.mobile-open{
    display:flex;
    position:absolute;
    left: 0;
    right: 0;
    top: 56px;
    background:#fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    flex-direction:column;
    gap: 0;
    padding: 10px 14px;
  }
  .nav.mobile-open .nav-link{
    padding: 12px 10px;
    border-radius: 12px;
  }
  .nav.mobile-open .nav-link::after{ display:none; }
  .nav.mobile-open .nav-link:hover{
    background: rgba(159,208,244,.35);
  }
}

.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display:block;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.25));
  transition: transform .18s ease, filter .18s ease;
}

.wa-float img{
  width: 110px;
  height:auto;
  display:block;
}

.wa-float:hover{
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.35));
}

@media(max-width:520px){
  .wa-float{ right:14px; bottom:14px; }
  .wa-float img{ width:110px; }
}


/* =========================
   FIX BURGER (GARIS 3) + MENU MOBILE
   taruh PALING BAWAH site.css
========================= */

/* tombol burger cocok header gradasi */
.site-header .btn-burger{
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

/* ====== GARIS BURGER: support 2 versi HTML ====== */
/* versi baru (.line) */
.site-header .btn-burger .line{
  position:absolute !important;
  left:50% !important;
  width:20px !important;
  height:2px !important;
  background:#fff !important;
  border-radius:999px !important;
  transform: translateX(-50%) !important;
  opacity: 1 !important;
  display:block !important;
}
.site-header .btn-burger .l1{ top: 14px !important; }
.site-header .btn-burger .l2{ top: 21px !important; }
.site-header .btn-burger .l3{ top: 28px !important; }

/* versi lama (3 span biasa) */
.site-header .btn-burger > span{
  position:absolute !important;
  left:50% !important;
  width:20px !important;
  height:2px !important;
  background:#fff !important;
  border-radius:999px !important;
  transform: translateX(-50%) !important;
  opacity: 1 !important;
  display:block !important;
}
.site-header .btn-burger > span:nth-child(1){ top: 14px !important; }
.site-header .btn-burger > span:nth-child(2){ top: 21px !important; }
.site-header .btn-burger > span:nth-child(3){ top: 28px !important; }

/* animasi jadi X (dua versi) */
.site-header .btn-burger.active .l1,
.site-header .btn-burger.active > span:nth-child(1){
  top: 21px !important;
  transform: translateX(-50%) rotate(45deg) !important;
}
.site-header .btn-burger.active .l2,
.site-header .btn-burger.active > span:nth-child(2){
  opacity: 0 !important;
}
.site-header .btn-burger.active .l3,
.site-header .btn-burger.active > span:nth-child(3){
  top: 21px !important;
  transform: translateX(-50%) rotate(-45deg) !important;
}

/* ukuran di HP biar pas */
@media (max-width: 860px){
  .site-header .btn-burger{
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }
}

/* ====== MENU MOBILE: jangan polos, kasih card + shadow ====== */
@media (max-width: 860px){
  .site-header{ position: sticky; top:0; z-index: 1000; }

  .nav.mobile-open{
    display:flex !important;
    position:absolute;
    left: 12px;
    right: 12px;
    top: 56px;                  /* sesuaikan kalau header lebih tinggi */
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(11,42,74,.10);
    box-shadow: 0 18px 40px rgba(11,42,74,.18);
    backdrop-filter: blur(10px);
  }

  .nav.mobile-open .nav-link{
    padding: 12px 12px;
    border-radius: 12px;
    font-weight: 800;
    color: var(--navy);
  }

  .nav.mobile-open .nav-link:active{
    transform: scale(.99);
  }

  .nav.mobile-open .nav-link:hover{
    background: rgba(47,128,237,.08);
  }
}

/* =========================
   HERO
========================= */
.hero-simple{
  position: relative;
  padding: 100px 0 92px;

 background:
  radial-gradient(900px 520px at 18% 30%, rgba(255,255,255,.05), transparent 62%),
  radial-gradient(680px 420px at 80% 65%, rgba(80,120,220,.10), transparent 60%),
  linear-gradient(135deg,
    #050f1f 0%,
    #0a1f3f 45%,
    #12335f 75%,
    #071427 100%
  );
overflow: hidden;

}

.hero-simple .hero-content{
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-simple .hero-title{
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -.2px;
}

.hero-simple .hero-subtitle{
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
  color: rgba(255,255,255,.92);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-top:22px;
  flex-wrap: wrap;
}

/* base button */
.hero-btn{
  padding:14px 26px;
  font-size:15px;
  font-weight:900;
  border-radius:14px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
}

/* tombol utama (WhatsApp) -> ORANYE */
.hero-btn.primary{
  background: linear-gradient(135deg, var(--orange), #ff9a50);
  color:#fff;
  box-shadow:0 14px 28px rgba(255,122,26,.28);
}
@media (hover:hover){
  .hero-btn.primary:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 36px rgba(255,122,26,.36);
    filter: brightness(1.02);
  }
}

/* tombol ghost */
.hero-btn.ghost{
  border:2px solid rgba(255,255,255,.7);
  color:#fff;
  background:transparent;
}
@media (hover:hover){
  .hero-btn.ghost:hover{
    background:rgba(255,255,255,.10);
    transform:translateY(-2px);
  }
}

/* HERO TEXT ANIMATION */
.hero-animate > *{
  opacity:0;
  transform:translateY(16px);
  animation:heroFadeUp .7s ease forwards;
}
.hero-animate > *:nth-child(1){ animation-delay:.05s }
.hero-animate > *:nth-child(2){ animation-delay:.15s }
.hero-animate > *:nth-child(3){ animation-delay:.25s }
.hero-animate > *:nth-child(4){ animation-delay:.35s }
.hero-animate > *:nth-child(5){ animation-delay:.45s }
@keyframes heroFadeUp{
  to{ opacity:1; transform:none; }
}

/* Responsive */
@media (max-width: 768px){
  .hero-simple{ padding: 74px 0 68px; }
  .hero-simple .hero-title{ font-size: 30px; }
  .hero-simple .hero-content{ text-align: left; }
  .hero-actions{ justify-content:flex-start; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-btn{ width:100%; }
}

/* =========================
   SECTION TITLES + SECTION BG
========================= */
.section-soft{
  background: #f6f9ff;
  border-top: 1px solid rgba(11,42,74,.06);
  border-bottom: 1px solid rgba(11,42,74,.06);
}
.section-white{ background:#fff; }
.section-pad{ padding: 34px 0 42px; }

.sec-title{
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
  position: relative;
}
.sec-title:before{
  content:"";
  display:block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ffb26b);
  margin-bottom: 10px;
}
.sec-subtitle{
  margin: 6px 0 0;
  color: var(--muted);
}

/* =========================
   CARA PEMESANAN (ANIM + HOVER)
========================= */
.section-steps{
  background: var(--soft);
  border-top: 1px solid rgba(0,0,0,.04);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.steps-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px 0 16px;
}
@media (max-width: 1024px){ .steps-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .steps-grid{ grid-template-columns: 1fr; gap: 10px; } }

.steps-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
  opacity:0;
  transform: translateY(10px);
  animation: stepIn .55s ease forwards;
}
.steps-card:nth-child(1){animation-delay:.05s}
.steps-card:nth-child(2){animation-delay:.12s}
.steps-card:nth-child(3){animation-delay:.19s}
.steps-card:nth-child(4){animation-delay:.26s}
@keyframes stepIn{
  to{ opacity:1; transform:none; }
}
@media (hover:hover){
  .steps-card:hover{
    transform: translateY(-4px);
    border-color: rgba(255,122,26,.22);
    box-shadow: 0 16px 30px rgba(11,42,74,.10);
  }
}

.steps-top{display:flex; align-items:center; gap: 10px; margin-bottom: 10px;}
.steps-no{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255, 122, 26, .14);
  color: var(--orange);
  font-weight: 900;
}
.steps-title{font-weight: 900; color: var(--navy);}
.steps-desc{color: rgba(0,0,0,.65); font-size: 13px; line-height: 1.55;}

/* =========================
   PRODUK TERLARIS (HOVER)
========================= */
.best-wrap{ position:relative; overflow:hidden; margin-top:20px; }
.best-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding:10px 4px 20px;
}
.best-track::-webkit-scrollbar{display:none}
.best-item{ flex:0 0 260px; scroll-snap-align:start; }

.best-card{
  background:#fff;
  border-radius:18px;
  padding:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  border: 1px solid rgba(11,42,74,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
@media (hover:hover){
  .best-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(11,42,74,.12);
    border-color: rgba(255,122,26,.18);
  }
  .best-card:hover .best-thumb img{ transform: scale(1.03); }
}
.best-thumb{
  position:relative;
  width:100%;
  height:260px;
  background:#f3f6fb;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.best-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .22s ease;
}
.best-badge{
  position:absolute;
  top:10px; left:10px;
  background: linear-gradient(135deg, var(--orange), #ff9a50);
  color:#fff;
  font-size:12px;
  padding:4px 10px;
  border-radius:20px;
  font-weight:900;
}
.best-body{display:flex; align-items:center; justify-content:space-between; margin-top:12px;}
.best-title{font-weight:900; color:var(--navy); font-size:14px;}
.best-btn{
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
}
@media (hover:hover){
  .best-btn:hover{ filter: brightness(1.03); transform: translateY(-1px); }
}

/* Panah desktop */
.best-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:36px; height:36px;
  border-radius:50%;
  border:none;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  cursor:pointer;
  font-size:20px;
  font-weight:900;
  z-index:5;
}
.best-nav.prev{left:-6px}
.best-nav.next{right:-6px}
@media(max-width:768px){ .best-nav{display:none} }

/* HP 2 kolom */
@media (max-width: 768px){
  .best-track{ gap: 12px; padding: 10px 8px 18px; }
  .best-item{ flex: 0 0 calc(50% - 6px); }
  .best-thumb{ height: 170px; }
  .best-card{ padding: 10px; border-radius: 16px; }
  .best-title{ font-size: 13px; line-height: 1.2; }
  .best-btn{ padding: 6px 12px; font-size: 12px; }
}

/* =========================
   PRODUK KAMI (HOVER)
========================= */
.home-products{
  padding: 26px 0 40px;
  background: #fff;
}

.sec-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.home-filter{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  margin: 12px 0 16px;
}

.f-input{
  flex: 1 1 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
}
.f-select{
  flex: 0 0 190px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.f-btn{
  padding: 12px 14px;
  border-radius: 14px;
  border: none;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ff9a50);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
@media (hover:hover){
  .f-btn:hover{ transform: translateY(-2px); filter: brightness(1.02); }
}
.f-reset{
  font-weight: 800;
  color: var(--navy);
  padding: 10px 6px;
}
@media (hover:hover){
  .f-reset:hover{ text-decoration: underline; }
}

.grid-home-products{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px){
  .grid-home-products{ grid-template-columns: repeat(2, 1fr); }
}

/* card */
.hp-card{
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(11,42,74,.08);
  box-shadow: 0 10px 26px rgba(11,42,74,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .hp-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(11,42,74,.12);
    border-color: rgba(11,42,74,.14);
  }
  .hp-card:hover .hp-thumb img{ transform: scale(1.03); }
}

.hp-thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f3f6fb;
}
.hp-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .22s ease;
}

/* badge kategori */
.hp-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2px;
  background: rgba(15,23,42,.08);
  border: 1px solid rgba(15,23,42,.18);
  color: #0f172a;
}
/* mapping warna kategori (id 1-5) */
.hp-badge.cat-1{ background: rgba(20,184,166,.14); border-color: rgba(20,184,166,.40); color:#0f766e; }
.hp-badge.cat-2{ background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.35); color:#1d4ed8; }
.hp-badge.cat-3{ background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.35); color:#6d28d9; }
.hp-badge.cat-4{ background: rgba(255,140,47,.14); border-color: rgba(255,140,47,.40); color:#c2410c; }
.hp-badge.cat-5{ background: rgba(14,165,233,.12); border-color: rgba(14,165,233,.35); color:#0369a1; }

.hp-body{ padding: 12px 12px 14px; }
.hp-title{
  font-weight: 900;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 6px;
}
.hp-desc{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.empty{ padding: 14px 0; color: var(--muted); font-weight: 800; }

/* pagination */
.pager{
  display:flex;
  gap: 8px;
  justify-content:center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.pg{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(11,42,74,.12);
  font-weight: 900;
  color: var(--navy);
  background:#fff;
  transition: transform .18s ease, background .18s ease;
}
@media (hover:hover){
  .pg:hover{ transform: translateY(-2px); }
}
.pg.active{
  background: var(--navy);
  color:#fff;
  border-color: var(--navy);
}

/* =========================
   WHY SECTION (HOVER)
========================= */
.why-wrap{
  padding: 46px 0 54px;
  background: #fff;
}
.why-head{ text-align:center; margin-bottom: 18px; }
.why-title{
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  margin: 0;
}
.why-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.why-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}

.why-list{ display:flex; flex-direction: column; gap: 12px; }

.why-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11,42,74,.08);
  box-shadow: 0 10px 26px rgba(11,42,74,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .why-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(11,42,74,.10);
    border-color: rgba(47,128,237,.22);
  }
  .why-item:hover .why-no{ transform: translateY(-1px); }
}

.why-no{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--navy);
  background: rgba(47,128,237,.10);
  border: 1px solid rgba(47,128,237,.18);
  flex: 0 0 auto;
  transition: transform .18s ease;
}
.why-h{ font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.why-d{ color: var(--muted); font-size: 13px; line-height: 1.5; }

.why-visual{ display:flex; justify-content:center; }
.why-bubble{
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(47,128,237,.10), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(255,140,47,.10), transparent 60%),
    #f6f9ff;
  border: 1px solid rgba(11,42,74,.06);
  box-shadow: 0 14px 36px rgba(11,42,74,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.why-bubble img{ width: 100%; height: 100%; object-fit: contain; display:block; }

@media (max-width: 992px){
  .why-grid{ grid-template-columns: 1fr; }
  .why-visual{ order: -1; margin-bottom: 8px; }
  .why-title{ font-size: 28px; }
}
/* Hide ilustrasi di HP */
@media (max-width: 768px){ .why-visual{ display:none !important; } }

/* =========================
   CAPAIAN / STATS (CSS READY)
   (Angka berhitung butuh JS kecil, nanti kamu pasang)
========================= */
.stats-wrap{
  position: relative;
  padding: 56px 0 60px;
  background: url('/assets/img/bg-print.jpg') center/cover no-repeat;
  color:#fff;
  overflow:hidden;
}
.stats-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(7,23,53,.88), rgba(12,53,120,.85));
  z-index:1;
}
.stats-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items:center;
}

.stats-left h2{
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 10px;
}
.stats-left p{
  margin:0;
  color: rgba(255,255,255,.88);
  max-width: 460px;
}

/* card kanan */
.stats-card{
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 18px 20px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.stats-item{
  text-align:center;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  transition: transform .18s ease, background .18s ease;
}
@media (hover:hover){
  .stats-item:hover{
    transform: translateY(-3px);
    background: rgba(255,255,255,.10);
  }
}
.stats-icon{ font-size: 26px; margin-bottom: 4px; }
.stats-num{ font-size: 22px; font-weight: 900; color:#fff; }
.stats-label{ font-size: 12px; color: rgba(255,255,255,.85); }

@media (max-width: 900px){
  .stats-grid{ grid-template-columns: 1fr; text-align:center; }
  .stats-left p{ margin: 0 auto 10px; }
}
@media (max-width: 600px){
  .stats-card{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   TESTIMONI (SLIDER + ANIM)
========================= */
.testi-wrap{
  padding: 44px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.00), rgba(11,42,74,.03));
}

.testi-wrap .container{
  position: relative;     /* anchor tombol */
  overflow: visible;      /* biar panah ga ke-clip */
}

.testi-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding: 10px 4px 18px;
  position: relative;
  z-index: 1;
}
.testi-track::-webkit-scrollbar{display:none}

.testi-item{
  flex: 0 0 340px;
  scroll-snap-align:start;
  opacity:0;
  transform: translateY(8px);
  animation: testiIn .55s ease forwards;
}
.testi-item:nth-child(1){animation-delay:.05s}
.testi-item:nth-child(2){animation-delay:.10s}
.testi-item:nth-child(3){animation-delay:.15s}
.testi-item:nth-child(4){animation-delay:.20s}
.testi-item:nth-child(5){animation-delay:.25s}
@keyframes testiIn{
  to{ opacity:1; transform:none; }
}

.testi-card{
  background:#fff;
  border-radius:18px;
  padding:14px;
  border:1px solid rgba(11,42,74,.08);
  box-shadow: 0 10px 26px rgba(11,42,74,.06);
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .testi-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(11,42,74,.10);
    border-color: rgba(11,42,74,.14);
  }
}

.testi-top{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.testi-avatar{
  width:46px; height:46px;
  border-radius:999px;
  overflow:hidden;
  background: #f3f6fb;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 46px;
}
.testi-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.testi-avatar span{font-weight:900;color:var(--navy)}
.testi-name{font-weight:900;color:var(--navy);line-height:1.1;}
.testi-stars{margin-top:4px;font-size:14px;letter-spacing:1px;color: rgba(11,42,74,.25);}
.testi-stars span.on{ color: #FFB020; }
.testi-msg{color: var(--muted);font-size: 13px;line-height: 1.65;}

/* panah desktop: pastikan bisa diklik */
.testi-nav{
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  z-index: 9999;
  pointer-events: auto;
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover:hover){
  .testi-nav:hover{
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
  }
}
.testi-nav.prev{ left: -14px; }
.testi-nav.next{ right: -14px; }

/* HP: sembunyikan panah */
@media(max-width: 992px){ .testi-nav{display:none} }
@media(max-width: 768px){ .testi-item{ flex-basis: 280px; } }

/* =========================
   PELANGGAN KAMI (LOGO SLIDER + BW)
========================= */
.clients-wrap{
  padding: 44px 0;
  background:#fff;
}

.clients-marquee{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(11,42,74,.08);
  background: rgba(11,42,74,.02);
  padding: 14px 10px;
}

.clients-track{
  display:flex;
  align-items:center;
  gap: 46px;
  width: max-content;
  animation: clientsScroll 22s linear infinite;
  will-change: transform;
}

.client-item{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width: 120px;
  height: 44px;
  opacity: .9;
}

.client-item img{
  max-height: 44px;
  max-width: 140px;
  width:auto;
  height:auto;
  object-fit: contain;
  display:block;

  /* otomatis hitam-putih */
  filter: grayscale(1) contrast(1.05) opacity(.85);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}

@media (hover:hover){
  .client-item img:hover{
    filter: grayscale(0) contrast(1.05) opacity(1);
    transform: translateY(-2px);
  }
  .clients-marquee:hover .clients-track{
    animation-play-state: paused;
  }
}

/* HP: bisa geser manual */
@media (max-width: 768px){
  .clients-marquee{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .clients-track{ animation:none; padding: 6px 6px; }
  .clients-marquee::-webkit-scrollbar{ display:none; }
}

/* NOTE: untuk animasi loop halus, track idealnya diduplikasi via HTML (2x list) */
@keyframes clientsScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================
   FOOTER
========================= */
.site-footer{
  background:#fff;
  border-top:1px solid rgba(0,0,0,.06);
  padding: 38px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr 1.1fr;
  gap: 30px;
  align-items:start;
}

.footer-logo{ height: 80px; width:auto; display:block; margin-bottom: 10px; }
.footer-desc{ color:#5b6776; line-height:1.7; font-size: 14px; margin: 0 0 14px; }
.footer-copy{ color:#9aa6b2; font-size: 12px; margin-top: 14px; }

.footer-title{ font-weight: 900; color:var(--navy); margin-bottom: 12px; }

.footer-link{
  display:block;
  color:var(--navy);
  font-weight:700;
  padding: 7px 0;
  font-size: 14px;
}
.footer-link.inline{display:inline; padding:0;}
@media (hover:hover){
  .footer-link:hover{ text-decoration: underline; }
}

.footer-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 10px 0;
  color:#223244;
  font-size: 14px;
  line-height: 1.55;
}
.footer-ico{ width:22px; text-align:center; opacity:.85; }
.footer-muted{ color:#8a97a6; font-weight:700; }

.footer-map{
  width:100%;
  border-radius: 14px;
  overflow:hidden;
  background:#f3f7ff;
  border:1px solid rgba(0,0,0,.06);
}
.footer-map iframe{
  width:100%;
  height: 160px;
  border:0;
  display:block;
}

.footer-mapbtn{
  margin-top: 10px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11,42,74,.06);
  color:var(--navy);
  font-weight: 900;
}
@media (hover:hover){
  .footer-mapbtn:hover{ background: rgba(11,42,74,.10); }
}

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-map iframe{ height: 190px; }
  .footer-col:nth-child(2){ display:none; }
}

/* ===== Produk per kategori - FIX layout ===== */

.cat-section{
  background:#fff;
  border-radius:18px;
  padding:18px;
  margin:18px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

.cat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.cat-title{
  display:flex;
  align-items:center;
  gap:10px;
}

.cat-bar{
  width:4px;
  height:22px;
  border-radius:999px;
  background:#0b2e63;
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:16px;
}

@media (max-width: 1024px){
  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .product-grid{ grid-template-columns: 1fr; }
}

.product-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.product-thumb{
  position:relative;
  background:#f3f4f6;
  height:210px;              /* FIX tinggi konsisten */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}

.product-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#0b2e63;
  color:#fff;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  font-weight:800;
  z-index:2;
  max-width: calc(100% - 24px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.product-body{
  padding:14px;
}

.product-name{
  margin:0 0 8px;
  font-size:15px;
  font-weight:900;
  color:#0b2e63;
  line-height:1.2;
}

.product-desc{
  margin:0 0 12px;
  font-size:12px;
  color:#667085;
  line-height:1.5;
  height: 38px;              /* FIX tinggi biar rapi */
  overflow:hidden;
}

.btn-detail{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:12px;
  background:#0b2e63;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:12px;
}

/* tombol lihat semua */
.cat-more{
  font-weight:800;
  text-decoration:none;
  color:#0b2e63;
  padding:8px 12px;
  border-radius:12px;
  background:#f2f6ff;
  white-space:nowrap;
}


/* =========================================
   PRODUK PAGE - FINAL POLISH (OVERRIDE)
   ========================================= */

.produk-page{
  padding: 10px 0 30px;
}

/* HERO seperti banner biru */
.produk-hero{
  background: linear-gradient(180deg, #0b2e63 0%, #0a2856 100%);
  color:#fff;
  border-radius:18px;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin: 12px 0 18px;
}

.produk-hero h1{
  margin:0 0 6px;
  font-size:34px;
  font-weight:900;
  letter-spacing:.2px;
}

.produk-hero p{
  margin:0;
  font-size:13px;
  opacity:.9;
}

.btn-wa{
  background:#22c55e;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  padding:12px 16px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  box-shadow: 0 10px 22px rgba(34,197,94,.25);
}
.btn-wa:hover{ filter: brightness(.95); }

/* SECTION kategori */
.cat-section{
  background:#fff;
  border-radius:18px;
  padding:18px;
  margin:16px 0;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

.cat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.cat-title{
  display:flex;
  align-items:center;
  gap:10px;
}

.cat-bar{
  width:4px;
  height:22px;
  border-radius:999px;
  background:#0b2e63;
}

.cat-head h2{
  margin:0;
  font-size:18px;
  font-weight:900;
  color:#0b2e63;
}

.cat-more{
  font-weight:900;
  text-decoration:none;
  color:#0b2e63;
  padding:9px 14px;
  border-radius:12px;
  background:#f2f6ff;
  border:1px solid rgba(11,46,99,.08);
}
.cat-more:hover{ filter: brightness(.97); }

/* GRID */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:16px;
}

/* responsif */
@media (max-width: 1100px){
  .product-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .produk-hero{ flex-direction:column; align-items:flex-start; }
  .product-grid{ grid-template-columns: 1fr; }
}

/* CARD */
.product-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

/* THUMB */
.product-thumb{
  position:relative;
  background:#f3f4f6;
  height: 220px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-thumb img{
  width:100%;
  height:100%;
  object-fit: contain;     /* tetap rapi walau beda ukuran */
  display:block;
}

/* badge kategori */
.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#0b2e63;
  color:#fff;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  font-weight:900;
  max-width: calc(100% - 24px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  z-index:2;
}

/* body */
.product-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.product-name{
  margin:0;
  font-size:15px;
  font-weight:900;
  color:#0b2e63;
  line-height:1.2;
}

.product-desc{
  margin:0;
  font-size:12px;
  color:#667085;
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp: 2;      /* bikin deskripsi rapi 2 baris */
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 36px;
}

/* tombol detail nempel bawah */
.btn-detail{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0b2e63;
  color:#fff;
  text-decoration:none;
  padding:9px 14px;
  border-radius:12px;
  font-weight:900;
  font-size:12px;
  width: fit-content;
}
.btn-detail:hover{ filter: brightness(.95); }


/* ==== FIX gambar biar pas ==== */
.product-thumb{
  height: 260px;       /* boleh 220-260, pilih yang kamu suka */
  padding: 10px;
}

.product-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* bikin gambar lebih penuh */
  border-radius: 12px; /* biar rapi */
}

/* ==== MOBILE 1 kolom ==== */
@media (max-width: 640px){
  .product-grid{
    grid-template-columns: 1fr !important;
  }

  .cat-section{
    padding: 14px;
  }

  .produk-hero{
    padding: 18px 16px;
  }
}

/* ====== PRODUK: gambar seperti contoh (contain + scale) ====== */
.product-thumb{
  height: 230px;           /* bisa 220-250 */
  padding: 12px;
  background: #f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;     /* jangan kepotong */
  display:block;
  transform: scale(1.15);  /* bikin lebih “penuh” seperti contoh */
  transform-origin: center;
}

/* kalau logo/badge ketutup, pastikan badge di atas */
.product-badge{
  z-index: 5;
}

/* ====== MOBILE: paksa 1 kolom ====== */
@media (max-width: 768px){
  .product-grid{
    grid-template-columns: 1fr !important;
  }
}

/* sedikit rapihin spacing di hp */
@media (max-width: 480px){
  .product-thumb{ height: 210px; }
  .cat-section{ padding: 14px; }
  .btn-detail{ width: 100%; }
}

@media (max-width: 768px){
  .product-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px;
  }

  .product-thumb{
    height: 160px;
    padding: 8px;
  }

  .product-body{
    padding: 10px;
  }

  .product-name{
    font-size: 13px;
  }

  .product-desc{
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .btn-detail{
    width: 100%;
    font-size: 11px;
    padding: 7px 10px;
  }
}

@media (max-width: 420px){
  .product-thumb{ height: 140px; }
}

.product-card{
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.product-card:hover .product-thumb img{
  transform: scale(1.25);
  transition: transform .3s ease;
}

.product-thumb img{
  transition: transform .3s ease;
}

.btn-detail{
  transition: background .2s ease, transform .2s ease;
}

.product-card:hover .btn-detail{
  background: #123b82;
  transform: scale(1.05);
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width: 768px){

  /* container header jadi flex rapi */
  header .container,
  .navbar .container,
  .site-header .container,
  .header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  /* area kiri: logo */
  .logo,
  .brand,
  .navbar-brand{
    display:flex;
    align-items:center;
    gap:10px;
    min-width: 0;
  }

  .logo img,
  .brand img,
  .navbar-brand img{
    height: 36px;       /* kecilin biar lega */
    width: auto;
    display:block;
  }

  /* tombol WA kecilin */
  .btn-wa,
  .nav-wa,
  .header-wa,
  a[href*="wa.me"],
  a[href*="whatsapp"]{
    padding: 8px 12px !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }

  /* tombol hamburger */
  [data-mobile-menu-btn],
  .hamburger,
  .menu-btn{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex: 0 0 auto;
  }

  /* kalau hamburger pakai icon garis 3 (span) */
  [data-mobile-menu-btn] span,
  .hamburger span{
    display:block;
  }

  /* area kanan (WA + hamburger) jadi satu baris */
  .header-actions,
  .nav-actions,
  .navbar-actions,
  .right-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex: 0 0 auto;
  }

  /* cegah logo kepotong aneh */
  .logo,
  .brand,
  .navbar-brand{
    flex: 1 1 auto;
    overflow:hidden;
  }
}


/* =========================
   FRONTEND PORTFOLIO
   ========================= */

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page{
  padding: 22px 0 40px;
}

.page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-title{
  margin:0;
  font-size: 34px;
  font-weight: 900;
}

.page-subtitle{
  margin: 6px 0 0;
  color: rgba(0,0,0,.65);
  font-size: 14px;
}

.wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  background: #22c55e;
  color:#fff;
  font-weight: 900;
  text-decoration:none;
  box-shadow: 0 14px 30px rgba(34,197,94,.25);
}

.wa-btn:hover{ filter: brightness(1.05); }

/* grid */
.pf-grid-front{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px){
  .pf-grid-front{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .pf-grid-front{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px){
  .pf-grid-front{ grid-template-columns: 1fr; }
}

/* item */
.pf-item{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
  aspect-ratio: 4 / 3; /* bikin kotak rapih */
}

.pf-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}

.pf-item img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1);
  transition: transform .22s ease;
}

.pf-item:hover img{
  transform: scale(1.06);
}

/* subtle overlay icon */
.pf-item::after{
  content: "🔍";
  position:absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color:#fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.pf-item:hover::after{
  opacity: 1;
  transform: translateY(0);
}

/* lightbox */
.pf-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 9999;
}

.pf-full{
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: #111;
}

.pf-close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.pf-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 99999;
}

.pf-full{
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: #111;
}

.pf-close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}


.pf-item{ cursor:pointer; position:relative; }
.pf-item img{ pointer-events:none; } /* klik selalu ke .pf-item */
.pf-item::after{ pointer-events:none; } /* kalau ada overlay badge */

/* FIX: pastikan elemen hidden beneran tidak tampil */
[hidden] { display: none !important; }


.ar-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}
@media (max-width: 1024px){ .ar-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 560px){ .ar-grid{ grid-template-columns:1fr; } }

.ar-card{
  display:flex;
  flex-direction:column;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease;
}
.ar-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 45px rgba(0,0,0,.10);
}
.ar-thumb{
  aspect-ratio: 16/9;
  background:#f2f4f7;
}
.ar-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ar-thumb-empty{ width:100%; height:100%; }

.ar-body{ padding:14px 14px 16px; }
.ar-title{ margin:0 0 8px; font-size:16px; font-weight:800; line-height:1.2; }
.ar-excerpt{ margin:0 0 10px; color:#5b6472; font-size:13px; line-height:1.45; }
.ar-meta{ font-size:12px; color:#8a94a6; }

.article-head{ margin:12px 0 14px; }
.back-link{ text-decoration:none; color:#0a2f66; font-weight:700; }
.article-title{ margin:8px 0 6px; font-size:34px; }
.article-meta{ color:#8a94a6; font-size:13px; }

.article-hero{
  border-radius:18px;
  overflow:hidden;
  background:#f2f4f7;
  margin:14px 0 18px;
}
.article-hero img{ width:100%; height:auto; display:block; }

.article-content{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:18px;
  line-height:1.7;
}
.pagination{ display:flex; gap:8px; justify-content:center; margin:18px 0 6px; }
.pg{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  text-decoration:none; color:#0a2f66; font-weight:800;
  background:#fff;
}
.pg.active{ background:#0a2f66; color:#fff; border-color:#0a2f66; }


/* =========================
   ARTIKEL (frontend)
   ========================= */

/* wrapper halaman artikel (kalau kamu pakai .page .container seperti halaman lain) */
.page .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 18px;
}

/* header artikel */
.article-head,
.page-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.page-title{
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.page-subtitle{
  margin: 0;
  color: #6b7280;
}

/* search */
.article-search,
.ar-search{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 20px;
}

.article-search input[type="text"],
.ar-search input[type="text"],
.article-search input[type="search"],
.ar-search input[type="search"]{
  width: min(420px, 100%);
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.9);
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.article-search input:focus,
.ar-search input:focus{
  border-color: rgba(2, 132, 199, .45);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, .12);
}

.article-search button,
.ar-search button{
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #0b2d5c;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.article-search button:hover,
.ar-search button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11,45,92,.22);
}
.article-search button:active,
.ar-search button:active{
  transform: translateY(0);
  opacity: .92;
}

/* grid */
.article-grid,
.ar-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* card */
.article-card,
.ar-card,
.article-item{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card:hover,
.ar-card:hover,
.article-item:hover{
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, .18);
  box-shadow: 0 24px 60px rgba(2, 6, 23, .12);
}

/* gambar seragam (crop) */
.article-thumb,
.ar-thumb,
.article-item img{
  width: 100%;
  height: 190px;              /* bikin semua sama tinggi */
  object-fit: cover;          /* crop biar rapi */
  display: block;
  background: #f3f4f6;
}

/* konten */
.article-body,
.ar-body{
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-title,
.ar-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #0b2d5c;
  font-weight: 800;

  /* max 2 baris */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt,
.ar-excerpt{
  margin: 0;
  color: #667085;
  font-size: 13.5px;
  line-height: 1.55;

  /* max 4 baris */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* link seluruh card */
.article-card a,
.ar-card a,
.article-item a{
  color: inherit;
  text-decoration: none;
}

/* footer kecil di card (optional kalau kamu punya) */
.article-meta,
.ar-meta{
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}

/* pagination (kalau ada) */
.pagination{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.pagination a, .pagination span{
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.9);
  color: #0b2d5c;
  text-decoration: none;
  font-weight: 700;
}
.pagination .active, .pagination span{
  background: #0b2d5c;
  color: #fff;
  border-color: transparent;
}

/* responsive */
@media (max-width: 1024px){
  .article-grid, .ar-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title{ font-size: 36px; }
}
@media (max-width: 640px){
  .article-head, .page-head{ flex-direction: column; align-items: flex-start; }
  .article-grid, .ar-grid{ grid-template-columns: 1fr; }
  .article-thumb, .ar-thumb, .article-item img{ height: 200px; }
  .article-search, .ar-search{ width: 100%; }
  .article-search input, .ar-search input{ width: 100%; }
}


/* =========================
   TENTANG KAMI
   ========================= */
.about-page .container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 18px 60px;
}

.about-hero{
  background: linear-gradient(135deg,#0b2d5c,#0a1f3f);
  border-radius: 22px;
  padding: 42px 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 80px rgba(2,6,23,.25);
}

.about-logo{
  width: 140px;
  margin-bottom: 14px;
}

.about-hero h1{
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.02em;
}

.about-tagline{
  margin-top: 8px;
  color: #dbeafe;
  font-size: 16px;
}

.about-content{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 26px;
}

.about-card{
  background: rgba(255,255,255,.95);
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 16px 40px rgba(2,6,23,.08);
  transition: transform .18s ease, box-shadow .2s ease;
}

.about-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(2,6,23,.14);
}

.about-card h3{
  margin-top: 0;
  color: #0b2d5c;
}

.about-card ul{
  padding-left: 18px;
  margin: 8px 0 0;
}

.about-card li{
  margin-bottom: 6px;
  color: #475569;
}

/* Responsive */
@media(max-width:900px){
  .about-content{
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width:600px){
  .about-content{
    grid-template-columns: 1fr;
  }
  .about-hero h1{
    font-size: 32px;
  }
}

/* =========================
   PRODUCT DETAIL (RAPI)
   ========================= */
.pd-page .container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}

.pd-breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color:#64748b;
  margin-bottom: 16px;
}
.pd-breadcrumb a{
  color:#0b2d5c;
  text-decoration:none;
  font-weight:700;
}
.pd-breadcrumb a:hover{ text-decoration:underline; }

.pd-layout{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items:start;
}

.pd-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(2,6,23,.10);
}

.pd-media{
  position:relative;
  padding: 18px;
}

.pd-badge{
  position:absolute;
  top: 14px;
  left: 14px;
  background:#0b2d5c;
  color:#fff;
  font-weight:800;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  box-shadow: 0 10px 24px rgba(2,6,23,.18);
  z-index:2;
}

.pd-imgwrap{
  border-radius: 14px;
  overflow:hidden;
  background: #f3f4f6;
  aspect-ratio: 1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pd-imgwrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1);
  transition: transform .25s ease;
}
.pd-media:hover .pd-imgwrap img{ transform: scale(1.03); }

.pd-right{
  padding-top: 6px;
}

.pd-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(11,45,92,.10);
  color:#0b2d5c;
  font-weight:900;
  font-size:12px;
  margin-bottom: 10px;
}

.pd-title{
  margin: 0 0 8px;
  font-size: 40px;
  line-height:1.1;
  color:#0f172a;
  letter-spacing:-0.02em;
}

.pd-meta{
  font-size: 14px;
  color:#334155;
  margin-bottom: 14px;
}
.pd-meta-label{
  font-weight:800;
  margin-right: 6px;
}
.pd-meta-link{
  color:#0b2d5c;
  font-weight:800;
  text-decoration:none;
}
.pd-meta-link:hover{ text-decoration:underline; }

.pd-desc{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: 14px 14px;
  color:#334155;
  line-height: 1.75;
  box-shadow: 0 14px 45px rgba(2,6,23,.06);
  margin-bottom: 14px;
  max-width: 720px;
}

.pd-wa{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 52px;
  border-radius: 12px;
  background: #16a34a;
  color:#fff;
  font-weight: 900;
  text-decoration:none;
  box-shadow: 0 14px 40px rgba(22,163,74,.28);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
  max-width: 720px;
}
.pd-wa:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 55px rgba(22,163,74,.32);
}

.pd-back{
  display:inline-block;
  margin-top: 10px;
  color:#0b2d5c;
  font-weight: 800;
  text-decoration:none;
}
.pd-back:hover{ text-decoration:underline; }

.pd-share{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 14px;
  color:#64748b;
  font-weight:700;
}
.pd-copy{
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  color:#0b2d5c;
  font-weight:900;
  padding: 8px 12px;
  border-radius: 10px;
  cursor:pointer;
  box-shadow: 0 10px 28px rgba(2,6,23,.06);
}
.pd-copy:hover{
  transform: translateY(-1px);
}

/* Responsive */
@media(max-width: 980px){
  .pd-layout{ grid-template-columns: 360px 1fr; }
  .pd-title{ font-size: 34px; }
}
@media(max-width: 820px){
  .pd-layout{ grid-template-columns: 1fr; }
  .pd-title{ font-size: 32px; }
  .pd-desc, .pd-wa{ max-width: 100%; }
}


/* detail produk */
.product-detail .pd-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.product-detail .pd-media img{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
}
.product-detail .pd-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#0b2d5c;
  color:#fff;
  font-weight:800;
  font-size:12px;
}
.product-detail .pd-title{ margin:10px 0 6px; color:#0b2d5c; font-size:32px; }
.product-detail .pd-desc{ color:#475569; line-height:1.7; }
.product-detail .pd-actions{ display:flex; gap:10px; margin-top:16px; flex-wrap:wrap; }

@media(max-width:900px){
  .product-detail .pd-wrap{ grid-template-columns:1fr; }
}

/* detail artikel */
.article-detail .ad-card{
  background: rgba(255,255,255,.95);
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  padding:18px;
  box-shadow:0 18px 50px rgba(2,6,23,.10);
}
.article-detail .ad-title{
  margin:0 0 12px;
  color:#0b2d5c;
  font-size:34px;
  letter-spacing:-0.02em;
}
.article-detail .ad-thumb{
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:14px;
}
.article-detail .ad-content{
  color:#334155;
  line-height:1.8;
}
.back-link{
  display:inline-block;
  margin-bottom:12px;
  color:#0b2d5c;
  text-decoration:none;
  font-weight:800;
}
.back-link:hover{ text-decoration:underline; }

.article-breadcrumb{
  font-size: 13px;
  color:#7a8599;
  margin: 6px 0 10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.article-breadcrumb a{ color:#2b5db3; text-decoration:none; }
.article-breadcrumb a:hover{ text-decoration:underline; }

.article-back{
  display:inline-block;
  margin: 6px 0 18px;
  color:#0d2f66;
  font-weight:700;
  text-decoration:none;
}
.article-back:hover{ text-decoration:underline; }

.article-detail{
  background:#fff;
  border:1px solid rgba(20,40,80,.08);
  border-radius:18px;
  padding:22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

.article-head{ margin-bottom: 14px; }
.article-title{
  font-size: 32px;
  line-height:1.15;
  margin: 0 0 10px;
  color:#0b1f3d;
}
.article-excerpt{
  margin:0;
  color:#5e6b80;
  line-height:1.6;
  max-width: 75ch;
}

.article-hero{
  margin: 14px 0 18px;
  border-radius:16px;
  overflow:hidden;
  background:#f4f6fa;
}
.article-hero img{
  width:100%;
  height:auto;
  display:block;
}

.article-content{
  color:#1f2e44;
  line-height:1.8;
  font-size: 15px;
}
.article-content h2, .article-content h3{
  margin: 18px 0 10px;
  line-height:1.25;
  color:#0b1f3d;
}
.article-content p{ margin: 0 0 12px; }

.article-actions{
  margin-top: 18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width: 768px){
  .article-detail{ padding:16px; border-radius:16px; }
  .article-title{ font-size:24px; }
}

