/* ================================
   PT Mitra Guna Estetika
   One-page Company Profile (EN/ID)
   Shared CSS (Route-based)
================================== */

:root{
  --bg-0:#06070f;
  --bg-1:#070a16;
  --bg-2:#0b1030;

  --text:#e9ecff;
  --muted:#aeb6df;

  --glass: rgba(255,255,255,.06);
  --glass-2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.10);

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 35px rgba(0,0,0,.25);

  --radius: 18px;
  --radius-2: 24px;

  --honda:#d93333;
  --yamaha:#2f6fff;

  --ok:#4fe3a6;

  --container: 1180px;
}

*{ box-sizing:border-box; }

/* force hidden to always work (author CSS tidak boleh override) */
[hidden]{ display:none !important; }

/* optional: kalau kita pakai class */
.is-hidden{ display:none !important; }

html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(217,51,51,.25), transparent 60%),
    radial-gradient(900px 600px at 80% 25%, rgba(47,111,255,.22), transparent 60%),
    radial-gradient(1000px 600px at 55% 85%, rgba(120,76,255,.16), transparent 65%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:22px; top:14px;
  width:auto;height:auto;
  padding:10px 14px;
  border-radius:12px;
  background: rgba(0,0,0,.75);
  border:1px solid var(--stroke);
  z-index:9999;
}
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* ================= Header ================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4,6,16,.60);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 16px 0;
}

.header .container{
  padding-left: 22px;
  padding-right: 22px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 100px;
}
.logo__mark{
  width:44px;height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.5px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(217,51,51,.95), rgba(47,111,255,.95));
  box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.logo__text{ display:flex; flex-direction:column; gap:2px; }
.logo__name{ font-weight:800; font-size:14px; letter-spacing:.2px; }
.logo__tag{
  font-size:12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.nav__link{
  font-size:13px;
  color: rgba(233,236,255,.90);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .18s ease;
}
.nav__link:hover{
  background: rgba(255,255,255,.07);
}
.nav__link--cta{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* ===== Language Switch (ROUTE-based, always visible as slider) ===== */
.lang-switch{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  color: rgba(233,236,255,.92);
  transition: .18s ease;
  user-select:none;
}
.lang-switch:hover{
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}

/* clickable texts */
.lang-switch__text{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  padding: 0 2px;
  opacity:.65;
  color: inherit;
}
.lang-switch__text:hover{ opacity: 1; }

/* active */
.lang-switch--id .lang-switch__text--id,
.lang-switch--en .lang-switch__text--en{
  opacity: 1;
}
.lang-switch__text[aria-current="page"]{
  opacity: 1;
}

/* track + thumb */
.lang-switch__track{
  width:44px;
  height:22px;
  border-radius:999px;
  position:relative;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.lang-switch__thumb{
  width:18px;
  height:18px;
  border-radius:999px;
  position:absolute;
  top:2px;
  left:2px;
  background: rgba(233,236,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
/* thumb position by page */
.lang-switch--en .lang-switch__thumb{ transform: translateX(22px); }
.lang-switch--id .lang-switch__thumb{ transform: translateX(0); }

/* focus */
.lang-switch__text:focus-visible{
  outline: 2px solid rgba(233,236,255,.65);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Burger (mobile) */
.burger{
  width:42px;height:42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  display:none;
  place-items:center;
  cursor:pointer;
}
.burger__lines,
.burger__lines::before,
.burger__lines::after{
  content:"";
  display:block;
  width:18px;height:2px;
  background: rgba(233,236,255,.92);
  border-radius: 2px;
  position:relative;
}
.burger__lines::before{ position:absolute; top:-6px; left:0; }
.burger__lines::after{ position:absolute; top:6px; left:0; }

/* Mobile nav behavior */
#navToggle:checked ~ .page .nav{
  display:flex;
}

/* ================= Hero ================= */
.hero{
  padding: 10px 0 20px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:center;
}

.hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 14px;
}
.badge{
  font-size:12px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(233,236,255,.92);
}
.badge--honda{
  border-color: rgba(217,51,51,.35);
  background: rgba(217,51,51,.14);
}
.badge--yamaha{
  border-color: rgba(47,111,255,.35);
  background: rgba(47,111,255,.14);
}
.badge--soft{
  background: rgba(255,255,255,.04);
}

.hero__title{
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
}
.hero__subtitle{
  margin: 0 0 18px;
  color: rgba(233,236,255,.88);
  max-width: 62ch;
}

.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin: 18px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: .18s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); }
.btn--primary{
  background:
    radial-gradient(140px 60px at 10% 0%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(135deg, rgba(47,111,255,.95), rgba(217,51,51,.88));
  border-color: rgba(255,255,255,.16);
  box-shadow: var(--shadow-soft);
  color:#fff !important;
}
.btn--ghost{
  background: rgba(255,255,255,.05);
}
.btn--outline{
  background: transparent;
  border-color: rgba(255,255,255,.16);
}

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.stat{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.05);
}
.stat__num{
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
}
.stat__label{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero__visual{ display:flex; justify-content:center; }
.visual-card{
  width: min(430px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.visual-card__top{
  display:flex;
  gap:8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}
.visual-dot{
  width:10px;height:10px;
  border-radius:50%;
  background: rgba(233,236,255,.25);
}
.visual-card__body{
  padding: 18px;
}
.visual-title{
  font-weight: 900;
  letter-spacing: .3px;
  margin-bottom: 10px;
}
.visual-sub{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.pill{
  font-size:12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.pill--honda{ background: rgba(217,51,51,.14); border-color: rgba(217,51,51,.35); }
.pill--yamaha{ background: rgba(47,111,255,.14); border-color: rgba(47,111,255,.35); }

.visual-lines{
  display:grid;
  gap:8px;
  margin: 14px 0 18px;
}
.visual-lines span{
  height: 9px;
  border-radius: 999px;
  background: rgba(233,236,255,.10);
}
.visual-lines span:nth-child(2){ width: 92%; }
.visual-lines span:nth-child(3){ width: 84%; }
.visual-lines span:nth-child(4){ width: 66%; }

.visual-moto{
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  display:grid;
  place-items:center;
}
.visual-moto svg{
  width: 100%;
  max-width: 360px;
  color: rgba(233,236,255,.85);
}

.visual-foot{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.chip{
  font-size:12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}

/* ================= Sections ================= */
.section{
  padding: 46px 0;
}
.section--alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-bottom: 18px;
}
.section__title{
  font-size: 28px;
  margin:0;
  letter-spacing: -.4px;
}
.section__desc{
  margin:0;
  color: var(--muted);
  max-width: 80ch;
}

.grid{
  display:grid;
  gap: 16px;
}
.grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card--soft{
  background: rgba(255,255,255,.045);
}
.card--gradient{
  background:
    radial-gradient(260px 160px at 20% 10%, rgba(47,111,255,.18), transparent 60%),
    radial-gradient(260px 160px at 85% 15%, rgba(217,51,51,.18), transparent 60%),
    rgba(255,255,255,.05);
}
.card__title{
  margin:0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
}
.card__text{
  margin: 0;
  color: rgba(233,236,255,.86);
}

.mini-list{ margin-top: 14px; display:grid; gap:10px; }
.mini-item{ display:flex; gap:10px; align-items:flex-start; color: rgba(233,236,255,.90); }
.mini-icon{
  width:20px;height:20px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  background: rgba(79,227,166,.16);
  border:1px solid rgba(79,227,166,.28);
  color: var(--ok);
  flex: 0 0 auto;
  margin-top: 1px;
}

.values{ display:grid; gap:12px; margin-top: 12px; }
.value{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.10);
}
.value__kicker{
  width:32px;height:32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}
.value__title{ font-weight: 900; }
.value__text{ font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Accordion */
.accordion details{
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 12px 14px;
}
.accordion details + details{ margin-top: 10px; }
.accordion summary{
  cursor:pointer;
  font-weight: 900;
  list-style:none;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion p{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Services */
.service{
  position: relative;
  overflow: hidden;

  display: flex;              /* icon kiri, teks kanan */
  align-items: flex-start;
  gap: 16px;
}

.service__icon{
  flex: 0 0 auto;

  width: 88px;                /* kamu bisa ubah ke 96 atau 100 */
  height: 88px;
  border-radius: 22px;

  display: grid;
  place-items: center;

  font-size: 44px;            /* ukuran emoji */
  line-height: 1;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.service__body{
  min-width: 0;
}

.service__title{
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
}

.service__text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Mobile: tetap rapi */
@media (max-width: 560px){
  .service__icon{
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-size: 36px;
  }
}


.process{
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  padding: 16px;
}
.process__head{
  font-weight: 900;
  margin-bottom: 10px;
}
.process__steps{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}
.step{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.10);
  text-align:center;
}
.step__num{
  width:34px;height:34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  margin: 0 auto 8px;
  font-weight: 900;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.step__text{ font-size: 12px; color: rgba(233,236,255,.90); }

/* Brands */
.brand{
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
}
.brand__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}
.brand__mark{
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: .2px;
}
.brand__tag{
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}
.brand__list{
  margin: 12px 0 14px;
  padding-left: 18px;
  color: rgba(233,236,255,.88);
}
.brand__list li{ margin: 8px 0; color: var(--muted); }

.brand--honda{
  background:
    radial-gradient(260px 140px at 20% 10%, rgba(217,51,51,.18), transparent 60%),
    rgba(255,255,255,.05);
}
.brand--yamaha{
  background:
    radial-gradient(260px 140px at 20% 10%, rgba(47,111,255,.18), transparent 60%),
    rgba(255,255,255,.05);
}

/* Contact */
.contact-grid{
  display:grid;
  gap: 12px;
}
.contact-item{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.10);
}
.contact-item__label{
  font-size: 12px;
  color: rgba(233,236,255,.78);
  letter-spacing: .6px;
  font-weight: 900;
}
.contact-item__value{
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.link{
  color: rgba(233,236,255,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.card--map{
  background:
    radial-gradient(300px 220px at 20% 10%, rgba(47,111,255,.14), transparent 60%),
    radial-gradient(300px 220px at 80% 10%, rgba(217,51,51,.14), transparent 60%),
    rgba(255,255,255,.05);
}
.map-placeholder__title{ font-weight: 1000; }
.map-placeholder__text{ color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.map-placeholder__box{
  height: 260px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
}

/* Footer */
.footer{ margin-top: 18px; }
.footer__inner{
  display:flex;
  gap: 10px;
  justify-content:space-between;
  align-items:center;
  padding: 16px 6px;
  color: rgba(233,236,255,.80);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Floating WhatsApp */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  z-index: 1200;
}
.wa-float svg{ width:18px; height:18px; color: rgba(233,236,255,.92); }
.wa-float__text{ font-size: 13px; font-weight: 900; }

/* ================= Responsive ================= */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__title{ font-size: 42px; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .process__steps{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav{ display:none; width: 100%; border-radius: 18px; padding: 10px; flex-wrap:wrap; }
  .nav__link{ width: 100%; text-align:center; }
  .burger{ display:grid; }
  .header__inner{ flex-wrap:wrap; }
  .logo{ flex: 1 1 auto; }
  .header__actions{ margin-left:auto; }
}

/* ================= Catalog ================= */

.brand__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.catalog{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.catalog__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.catalog__filters{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.catalog-tabs{
  display:inline-flex;
  gap:8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.catalog-tab{
  appearance:none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(233,236,255,.88);
  font-weight: 900;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: .18s ease;
}
.catalog-tab:hover{ background: rgba(255,255,255,.07); }
.catalog-tab.is-active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
}

.catalog-tab--honda.is-active{
  background: rgba(217,51,51,.14);
  border-color: rgba(217,51,51,.28);
}
.catalog-tab--yamaha.is-active{
  background: rgba(47,111,255,.14);
  border-color: rgba(47,111,255,.28);
}

.catalog-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.catalog-chip{
  appearance:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(233,236,255,.88);
  font-weight: 800;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: .18s ease;
}
.catalog-chip:hover{ background: rgba(255,255,255,.08); }
.catalog-chip.is-active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}

.catalog-search{
  position:relative;
  flex: 1 1 240px;
  max-width: 360px;
}
.catalog-search svg{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width:16px;
  height:16px;
  color: rgba(233,236,255,.75);
}
.catalog-search input{
  width:100%;
  padding: 11px 12px 11px 36px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(233,236,255,.92);
  outline: none;
}
.catalog-search input::placeholder{ color: rgba(174,182,223,.78); }
.catalog-search input:focus{
  border-color: rgba(233,236,255,.22);
  background: rgba(0,0,0,.22);
}

.catalog-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.product-card{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.product-media{
  position:relative;
  height: 300px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(260px 160px at 25% 20%, rgba(47,111,255,.18), transparent 60%),
    radial-gradient(260px 160px at 80% 15%, rgba(217,51,51,.18), transparent 60%),
    rgba(0,0,0,.12);
  display:grid;
  place-items:center;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit: contain;
  padding: 16px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.40));
}

.product-corner{
  position:absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(233,236,255,.90);
}

.product-placeholder{
  width: 64px;
  height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
}
.product-placeholder__mark{
  font-weight: 1000;
  letter-spacing: .6px;
  color: rgba(233,236,255,.90);
}

.product-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex: 1;
}
.product-name{
  margin:0;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: .2px;
}
.product-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.meta-pill{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(233,236,255,.90);
}
.meta-pill--soft{
  background: rgba(255,255,255,.04);
  color: rgba(174,182,223,.95);
}

.product-desc{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  min-height: 38px;
}

.product-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn--sm{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.catalog-empty{
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 13px;
  text-align:center;
}

/* Responsive for catalog */
@media (max-width: 1100px){
  .catalog-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 980px){
  .catalog-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .catalog-grid{ grid-template-columns: 1fr; }
}

/* ================= Hero Slider Enhancements ================= */

.hero--slider{
  padding: 10px 0 16px; /* tetap konsisten dengan .hero, tapi lebih rapih utk dots */
}

.hero-slider{
  /* default: first load (lebih “cinematic”) */
  --hero-in-dur: 920ms;
  --hero-in-delay: 70ms;
  --hero-out-dur: 520ms;
  --hero-slide-dur: 520ms;
  --hero-ease: cubic-bezier(.2,.9,.2,1);

  position: relative;
}

.hero-slider[data-motion="scroll"]{
  /* saat muncul lagi ketika scroll (lebih cepat/snappy) */
  --hero-in-dur: 560ms;
  --hero-in-delay: 20ms;
  --hero-out-dur: 360ms;
  --hero-slide-dur: 420ms;
}

.hero-slider__viewport{
  position: relative;
  /* tinggi di-set via JS agar tidak lompat/jumping */
  height: auto;
  transition: height 260ms var(--hero-ease);
}

.hero-slide{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-slide.is-active,
.hero-slide.is-enter,
.hero-slide.is-leave{
  opacity: 1;
  visibility: visible;
}

.hero-slide.is-active{
  pointer-events: auto;
}

/* Dots */
.hero-slider__nav{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top: 14px;
}

.hero-dot{
  appearance:none;
  width: 30px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  transition: .18s ease;
}

.hero-dot:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}

.hero-dot.is-active{
  background:
    linear-gradient(135deg, rgba(47,111,255,.95), rgba(217,51,51,.88));
  border-color: rgba(255,255,255,.18);
}

.hero-dot:focus-visible{
  outline: 2px solid rgba(233,236,255,.65);
  outline-offset: 3px;
}

/* Slide transition (container level) */
.hero-slide.is-enter.dir-next{ animation: hsInNext var(--hero-slide-dur) var(--hero-ease) both; }
.hero-slide.is-leave.dir-next{ animation: hsOutNext var(--hero-slide-dur) var(--hero-ease) both; }

.hero-slide.is-enter.dir-prev{ animation: hsInPrev var(--hero-slide-dur) var(--hero-ease) both; }
.hero-slide.is-leave.dir-prev{ animation: hsOutPrev var(--hero-slide-dur) var(--hero-ease) both; }

@keyframes hsInNext{
  from{ opacity:0; transform: translateX(26px); }
  to{ opacity:1; transform: translateX(0); }
}
@keyframes hsOutNext{
  from{ opacity:1; transform: translateX(0); }
  to{ opacity:0; transform: translateX(-26px); }
}
@keyframes hsInPrev{
  from{ opacity:0; transform: translateX(-26px); }
  to{ opacity:1; transform: translateX(0); }
}
@keyframes hsOutPrev{
  from{ opacity:1; transform: translateX(0); }
  to{ opacity:0; transform: translateX(26px); }
}

/* “Cinematic” in/out untuk konten & visual (beda timing load vs scroll via CSS var) */
.hero-slider.is-inview .hero-slide.is-active .hero__content{
  animation: heroInLeft var(--hero-in-dur) var(--hero-ease) both;
  animation-delay: var(--hero-in-delay);
}
.hero-slider.is-inview .hero-slide.is-active .hero__visual{
  animation: heroInRight var(--hero-in-dur) var(--hero-ease) both;
  animation-delay: calc(var(--hero-in-delay) + 120ms);
}

.hero-slider.is-outview .hero-slide.is-active .hero__content{
  animation: heroOutLeft var(--hero-out-dur) var(--hero-ease) both;
}
.hero-slider.is-outview .hero-slide.is-active .hero__visual{
  animation: heroOutRight var(--hero-out-dur) var(--hero-ease) both;
}

@keyframes heroInLeft{
  from{ opacity:0; transform: translateX(-18px); }
  to{ opacity:1; transform: translateX(0); }
}
@keyframes heroInRight{
  from{ opacity:0; transform: translateX(18px); }
  to{ opacity:1; transform: translateX(0); }
}
@keyframes heroOutLeft{
  from{ opacity:1; transform: translateX(0); }
  to{ opacity:0; transform: translateX(-14px); }
}
@keyframes heroOutRight{
  from{ opacity:1; transform: translateX(0); }
  to{ opacity:0; transform: translateX(14px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-slider__viewport{ transition:none !important; }
  .hero-slide,
  .hero__content,
  .hero__visual{
    animation: none !important;
    transition: none !important;
  }
}

/* === FIX: supaya image + drop-shadow tidak keluar dari product card === */
.product-media{
  /* pastikan area media benar-benar nge-clip semua paint (termasuk filter) */
  overflow: hidden;
  border-radius: 22px 22px 0 0;

  /* ini kuncinya: clip-path akan nge-clip hasil filter */
  clip-path: inset(0 round 22px 22px 0 0);
}

.product-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;

  /* kalau gambar sering “melebar”, kecilkan padding */
  padding: 10px;

  /* drop shadow boleh, tapi akan aman karena sudah di-clip */
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));

  /* bantu rendering biar halus */
  transform: translateZ(0);
}

/* opsional: untuk foto (background penuh) */
.product-media img.is-cover{
  /*object-fit: cover;*/
  padding: 0;
}

@media (max-width: 980px){
  .hero__content{ grid-row: 2; }
  .hero__visual{ grid-row: 1; }
}

.hero-visual-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* =========================================================
   HERO SLIDER - SAFE OVERRIDES (append to bottom)
   - Mobile: visual hero pindah ke atas
   - Motion: slide in/out lebih atraktif (tanpa merusak JS)
========================================================= */

/* 1) Hero image helper (punya kamu, tetap aman) */
.hero-visual-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* 2) Mobile order: visual di atas, content di bawah (SAFE) */
@media (max-width: 980px){
  /* grid jadi 1 kolom (kamu sudah ada, ini hanya memastikan) */
  .hero__grid{ grid-template-columns: 1fr; }

  /* pindah urutan: visual dulu */
  .hero__visual{ grid-row: 1; }
  .hero__content{ grid-row: 2; }

  /* optional: rapikan jarak */
  .hero__visual{ justify-content: flex-start; }
}

/* 3) Motion upgrade: lebih cinematic tapi tetap kompatibel */
/* Override vars saja (aman, tidak ganggu layout) */
.hero-slider{
  --hero-in-dur: 980ms;
  --hero-in-delay: 80ms;
  --hero-out-dur: 520ms;
  --hero-slide-dur: 620ms;
  --hero-ease: cubic-bezier(.16,1,.3,1);

  position: relative; /* sudah ada, tapi aman */
}

/* saat scroll balik muncul: lebih cepat */
.hero-slider[data-motion="scroll"]{
  --hero-in-dur: 620ms;
  --hero-in-delay: 20ms;
  --hero-out-dur: 380ms;
  --hero-slide-dur: 460ms;
}

/* performa */
.hero-slide{ will-change: transform, opacity, filter; }
.hero__content, .hero__visual{ will-change: transform, opacity, filter; }

/* 4) Slide transition: translate + scale + blur halus */
/* ini hanya mengganti keyframes yang dipakai class JS kamu */
.hero-slide.is-enter.dir-next{ animation: hsInNext2 var(--hero-slide-dur) var(--hero-ease) both; }
.hero-slide.is-leave.dir-next{ animation: hsOutNext2 var(--hero-slide-dur) var(--hero-ease) both; }
.hero-slide.is-enter.dir-prev{ animation: hsInPrev2 var(--hero-slide-dur) var(--hero-ease) both; }
.hero-slide.is-leave.dir-prev{ animation: hsOutPrev2 var(--hero-slide-dur) var(--hero-ease) both; }

@keyframes hsInNext2{
  from{ opacity:0; transform: translateX(46px) scale(.985); filter: blur(6px); }
  to  { opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes hsOutNext2{
  from{ opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
  to  { opacity:0; transform: translateX(-46px) scale(.985); filter: blur(6px); }
}
@keyframes hsInPrev2{
  from{ opacity:0; transform: translateX(-46px) scale(.985); filter: blur(6px); }
  to  { opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes hsOutPrev2{
  from{ opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
  to  { opacity:0; transform: translateX(46px) scale(.985); filter: blur(6px); }
}

/* 5) Cinematic in/out untuk konten dan visual (stagger) */
.hero-slider.is-inview .hero-slide.is-active .hero__content{
  animation: heroInLeft2 var(--hero-in-dur) var(--hero-ease) both;
  animation-delay: var(--hero-in-delay);
}
.hero-slider.is-inview .hero-slide.is-active .hero__visual{
  animation: heroInRight2 var(--hero-in-dur) var(--hero-ease) both;
  animation-delay: calc(var(--hero-in-delay) + 160ms);
}

.hero-slider.is-outview .hero-slide.is-active .hero__content{
  animation: heroOutLeft2 var(--hero-out-dur) var(--hero-ease) both;
}
.hero-slider.is-outview .hero-slide.is-active .hero__visual{
  animation: heroOutRight2 var(--hero-out-dur) var(--hero-ease) both;
}

@keyframes heroInLeft2{
  from{ opacity:0; transform: translateX(-22px) scale(.995); filter: blur(4px); }
  to  { opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes heroInRight2{
  from{ opacity:0; transform: translateX(22px) scale(.995); filter: blur(4px); }
  to  { opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes heroOutLeft2{
  from{ opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
  to  { opacity:0; transform: translateX(-16px) scale(.995); filter: blur(4px); }
}
@keyframes heroOutRight2{
  from{ opacity:1; transform: translateX(0) scale(1); filter: blur(0); }
  to  { opacity:0; transform: translateX(16px) scale(.995); filter: blur(4px); }
}

/* Reduced motion: jangan blur */
@media (prefers-reduced-motion: reduce){
  .hero-slide,
  .hero__content,
  .hero__visual{
    filter: none !important;
    animation: none !important;
  }
}

/* ================= Catalog Hover Upgrade (Professional) ================= */

/* card hover lift */
.product-card{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.16);
}

/* media: pastikan zoom rapi dan tidak keluar */
.product-media{
  overflow: hidden;                 /* sudah ada, keep */
  position: relative;               /* untuk overlay */
}

/* overlay gradient halus */
.product-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(420px 260px at 30% 20%, rgba(255,255,255,.10), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events:none;
}
.product-card:hover .product-media::after{
  opacity: 1;
}

/* zoom image */
.product-media img{
  transform: scale(1);
  transition: transform .28s cubic-bezier(.2,.9,.2,1), filter .28s ease;
  will-change: transform;
}

/* saat hover: zoom + sedikit lebih tajam */
.product-card:hover .product-media img{
  transform: scale(1.08);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}

/* corner badge ikut naik sedikit */
.product-corner{
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.product-card:hover .product-corner{
  transform: translateY(-1px);
  background: rgba(0,0,0,.30);
  border-color: rgba(255,255,255,.18);
}

/* tombol lebih enak saat hover card */
.product-actions .btn{
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.product-card:hover .product-actions .btn{
  transform: translateY(-1px);
}

/* Mobile: hover tidak relevan, matikan efek berat */
@media (hover: none){
  .product-card:hover{ transform:none; box-shadow: var(--shadow-soft); }
  .product-card:hover .product-media::after{ opacity:0; }
  .product-card:hover .product-media img{ transform:none; }
  .product-card:hover .product-corner{ transform:none; }
  .product-card:hover .product-actions .btn{ transform:none; }
}

/* ================= Zoom Modal ================= */
.zoom-modal[hidden]{ display:none !important; }

.zoom-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.zoom-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.zoom-modal__panel{
  position: relative;
  max-width: min(980px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  margin: 17px auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,12,24,.72);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.zoom-modal__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(600px 340px at 30% 20%, rgba(255,255,255,.10), transparent 60%),
              rgba(0,0,0,.10);
}

.zoom-modal__cap{
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(233,236,255,.86);
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.zoom-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(233,236,255,.92);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.zoom-modal__close:hover{
  background: rgba(0,0,0,.48);
}

/* ================= Scroll Reveal (Services) ================= */

/* keadaan awal: disembunyikan halus */
.js-reveal .service{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1),
              filter .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

/* variasi arah (opsional) */
.js-reveal .service.reveal-from-left{ transform: translateX(-22px); }
.js-reveal .service.reveal-from-right{ transform: translateX(22px); }

/* saat sudah tampil */
.js-reveal.is-visible .service{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* stagger timing (lebih menarik) */
.js-reveal.is-visible .service{
  transition-delay: var(--reveal-delay, 0ms);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .js-reveal .service{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ================= Scroll Reveal (Brands) ================= */
.js-reveal .brand{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1),
              transform .7s cubic-bezier(.16,1,.3,1),
              filter .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

/* opsi arah */
.js-reveal .brand.reveal-from-left{ transform: translateX(-22px); }
.js-reveal .brand.reveal-from-right{ transform: translateX(22px); }

.js-reveal.is-visible .brand{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce){
  .js-reveal .brand{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ================= Scroll Reveal - Universal (SAFE) ================= */
.js-reveal :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details){
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .7s cubic-bezier(.16,1,.3,1),
    transform .7s cubic-bezier(.16,1,.3,1),
    filter .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

/* variasi arah (dibantu JS) */
.js-reveal :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details).reveal-from-left{
  transform: translateX(-22px);
}
.js-reveal :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details).reveal-from-right{
  transform: translateX(22px);
}

.js-reveal.is-visible :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details){
  opacity: 1;
  transform: translate(0,0);
  filter: blur(0);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .js-reveal :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details){
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ================= Scroll Reveal - Catalog ================= */
.js-reveal :where(.catalog, .catalog__controls, .product-card){
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .7s cubic-bezier(.16,1,.3,1),
    transform .7s cubic-bezier(.16,1,.3,1),
    filter .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

.js-reveal :where(.catalog, .catalog__controls, .product-card).reveal-from-left{ transform: translateX(-22px); }
.js-reveal :where(.catalog, .catalog__controls, .product-card).reveal-from-right{ transform: translateX(22px); }

.js-reveal.is-visible :where(.catalog, .catalog__controls, .product-card){
  opacity: 1;
  transform: translate(0,0);
  filter: blur(0);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce){
  .js-reveal :where(.catalog, .catalog__controls, .product-card){
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ================= Theme Toggle ================= */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  cursor:pointer;

  font-size:12px;
  font-weight:900;
  color: rgba(233,236,255,.92);

  transition: .18s ease;
  user-select:none;
}
.theme-toggle:hover{
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible{
  outline: 2px solid rgba(233,236,255,.65);
  outline-offset: 3px;
  border-radius: 999px;
}

.theme-toggle__icon{
  width:18px;
  text-align:center;
  opacity:.8;
}

.theme-toggle__track{
  width:44px;
  height:22px;
  border-radius:999px;
  position:relative;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  flex: 0 0 auto;
}

.theme-toggle__thumb{
  width:18px;
  height:18px;
  border-radius:999px;
  position:absolute;
  top:2px;
  left:2px;
  background: rgba(233,236,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .18s ease;
}

/* DEFAULT: dark (thumb kiri) */
body:not(.theme-light) .theme-toggle__thumb{
  transform: translateX(0);
}

/* LIGHT: thumb kanan */
body.theme-light .theme-toggle__thumb{
  transform: translateX(22px);
}

/* Light theme: toggle ikut terang */
body.theme-light .theme-toggle{
  color: rgba(11,16,32,.88);
  background: rgba(255,255,255,.55);
  border-color: rgba(10,12,24,.10);
}
body.theme-light .theme-toggle:hover{
  background: rgba(255,255,255,.72);
}
body.theme-light .theme-toggle__track{
  background: rgba(10,12,24,.10);
  box-shadow: inset 0 0 0 1px rgba(10,12,24,.10);
}
body.theme-light .theme-toggle__thumb{
  background: rgba(11,16,32,.92);
}

/* =========================================================
   LIGHT THEME - FIX (append at very bottom)
   Trigger: <body class="theme-light">
========================================================= */

body.theme-light{
  /* pakai variable yang sama, tapi nilainya versi light */
  --bg-0:#f7f8ff;
  --bg-1:#f2f5ff;
  --bg-2:#eef2ff;

  --text:#0b1020;     /* text utama jadi gelap */
  --muted:#465069;    /* text sekunder */

  --glass: rgba(0,0,0,.04);
  --glass-2: rgba(0,0,0,.06);
  --stroke: rgba(0,0,0,.10);

  --shadow: 0 18px 60px rgba(10,12,24,.10);
  --shadow-soft: 0 10px 35px rgba(10,12,24,.08);

  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(217,51,51,.10), transparent 60%),
    radial-gradient(900px 600px at 80% 25%, rgba(47,111,255,.10), transparent 60%),
    radial-gradient(1000px 600px at 55% 85%, rgba(120,76,255,.08), transparent 65%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
}

/* Header / Nav */
body.theme-light .header{
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
body.theme-light .nav{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.60);
}
body.theme-light .nav__link{
  color: rgba(11,16,32,.88);
}
body.theme-light .nav__link:hover{
  background: rgba(0,0,0,.05);
}
body.theme-light .nav__link--cta{
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}

/* Ini yang bikin “tetap putih” -> override semua hardcode rgba(233,236,255,...) */
body.theme-light .section__desc,
body.theme-light .hero__subtitle,
body.theme-light .card__text,
body.theme-light .product-desc,
body.theme-light .service__text,
body.theme-light .contact-item__label,
body.theme-light .contact-item__value{
  color: rgba(11,16,32,.72) !important;
}
body.theme-light .stat__label,
body.theme-light .logo__tag,
body.theme-light .value__text{
  color: rgba(11,16,32,.62) !important;
}

/* Badge/Pill/Chip */
body.theme-light .badge,
body.theme-light .pill,
body.theme-light .chip,
body.theme-light .meta-pill{
  color: rgba(11,16,32,.86);
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
}
body.theme-light .badge--soft{
  background: rgba(255,255,255,.55);
}

/* Cards */
body.theme-light .card,
body.theme-light .brand,
body.theme-light .catalog,
body.theme-light .stat,
body.theme-light .process,
body.theme-light .contact-item{
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

/* Section alt */
body.theme-light .section--alt{
  background: rgba(0,0,0,.02);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Inputs */
body.theme-light .catalog-search input{
  border-color: rgba(0,0,0,.12);
  background: rgba(255,255,255,.86);
  color: rgba(11,16,32,.90);
}
body.theme-light .catalog-search input::placeholder{
  color: rgba(11,16,32,.55);
}

/* Product media bg (supaya tidak “gelap”) */
body.theme-light .product-media{
  background:
    radial-gradient(260px 160px at 25% 20%, rgba(47,111,255,.10), transparent 60%),
    radial-gradient(260px 160px at 80% 15%, rgba(217,51,51,.10), transparent 60%),
    rgba(255,255,255,.75);
}

/* Links */
body.theme-light .link{
  color: rgba(11,16,32,.86);
}

/* Floating WA biar tetap kebaca */
body.theme-light .wa-float{
  background: rgba(255,255,255,.75);
  border-color: rgba(0,0,0,.12);
}
body.theme-light .wa-float svg,
body.theme-light .wa-float__text{
  color: rgba(11,16,32,.88);
}

/* Zoom modal (optional: biar tetap nyaman di light) */
body.theme-light .zoom-modal__panel{
  background: rgba(255,255,255,.92);
  border-color: rgba(0,0,0,.12);
}
body.theme-light .zoom-modal__cap{
  color: rgba(11,16,32,.80);
  border-top-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}
body.theme-light .zoom-modal__close{
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.12);
  color: rgba(11,16,32,.90);
}

/* =========================================================
   LIGHT THEME PATCH (specific blocks you listed)
   Append at VERY BOTTOM
   Trigger: body.theme-light
========================================================= */

/* ---------- 1) Language switch (ID/EN) ---------- */
body.theme-light .lang-switch{
  background: rgba(255,255,255,.70);
  border-color: rgba(0,0,0,.10);
  color: rgba(11,16,32,.88);
}
body.theme-light .lang-switch:hover{
  background: rgba(255,255,255,.82);
}
body.theme-light .lang-switch__text{
  color: rgba(11,16,32,.88);
}
body.theme-light .lang-switch__text{ opacity:.55; }
body.theme-light .lang-switch--id .lang-switch__text--id,
body.theme-light .lang-switch--en .lang-switch__text--en,
body.theme-light .lang-switch__text[aria-current="page"]{
  opacity: 1;
}
body.theme-light .lang-switch__track{
  background: rgba(0,0,0,.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
}
body.theme-light .lang-switch__thumb{
  background: rgba(11,16,32,.92);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* ---------- 2) Mini list (About -> checklist) ---------- */
body.theme-light .mini-item{
  color: rgba(11,16,32,.78);
}
body.theme-light .mini-icon{
  background: rgba(79,227,166,.20);
  border-color: rgba(79,227,166,.35);
  color: rgba(15,120,80,.95);
}

/* ---------- 3) Process steps ---------- */
body.theme-light .process{
  background: rgba(255,255,255,.70);
  border-color: rgba(0,0,0,.10);
}
body.theme-light .step{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.08);
}
body.theme-light .step__num{
  background: rgba(255,255,255,.85);
  border-color: rgba(0,0,0,.10);
  color: rgba(11,16,32,.92);
}
body.theme-light .step__text{
  color: rgba(11,16,32,.72);
}

/* ---------- 4) Catalog filters (tabs & chips) ---------- */
body.theme-light .catalog{
  background: rgba(255,255,255,.70);
  border-color: rgba(0,0,0,.10);
}

body.theme-light .catalog-tabs{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.10);
}
body.theme-light .catalog-tab{
  color: rgba(11,16,32,.78);
}
body.theme-light .catalog-tab:hover{
  background: rgba(0,0,0,.05);
}
body.theme-light .catalog-tab.is-active{
  background: rgba(11,16,32,.08);
  border-color: rgba(0,0,0,.12);
  color: rgba(11,16,32,.92);
}

/* keep special honda/yamaha active look but make it light-friendly */
body.theme-light .catalog-tab--honda.is-active{
  background: rgba(217,51,51,.14);
  border-color: rgba(217,51,51,.22);
  color: rgba(11,16,32,.92);
}
body.theme-light .catalog-tab--yamaha.is-active{
  background: rgba(47,111,255,.14);
  border-color: rgba(47,111,255,.22);
  color: rgba(11,16,32,.92);
}

body.theme-light .catalog-chip{
  background: rgba(255,255,255,.65);
  border-color: rgba(0,0,0,.10);
  color: rgba(11,16,32,.78);
}
body.theme-light .catalog-chip:hover{
  background: rgba(0,0,0,.05);
}
body.theme-light .catalog-chip.is-active{
  background: rgba(11,16,32,.08);
  border-color: rgba(0,0,0,.12);
  color: rgba(11,16,32,.92);
}

/* ---------- 5) Footer ---------- */
body.theme-light .footer__inner{
  color: rgba(11,16,32,.70);
  border-top-color: rgba(0,0,0,.08);
}
body.theme-light .footer__left,
body.theme-light .footer__right{
  color: rgba(11,16,32,.70);
}
/* ================= Mobile Burger -> X when open ================= */
.burger{
  position: relative;
}

/* animasi halus */
.burger__lines,
.burger__lines::before,
.burger__lines::after{
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}

/* ketika navToggle checked: jadi X */
#navToggle:checked ~ .page .burger__lines{
  transform: rotate(45deg);
}
#navToggle:checked ~ .page .burger__lines::before{
  top: 0;
  transform: rotate(0deg);
  opacity: 0; /* garis atas hilang */
}
#navToggle:checked ~ .page .burger__lines::after{
  top: 0;
  transform: rotate(90deg);
}
/* =========================================================
   MOBILE: SHOW THEME TOGGLE + SAFE LAYOUT
   taruh PALING BAWAH CSS
========================================================= */
@media (max-width: 860px){
  .header__inner{
    gap: 10px;
  }

  .header__actions{
    gap: 8px;
    flex-wrap: wrap;            /* boleh turun baris kalau sempit */
    justify-content: flex-end;
  }

  /* toggle tampil */
  .header__actions #themeToggle{
    display: inline-flex !important;
    padding: 8px 10px;          /* sedikit lebih kecil */
    gap: 8px;
  }

  /* optional: kecilkan track biar muat */
  .theme-toggle__track{
    width: 40px;
    height: 20px;
  }
  .theme-toggle__thumb{
    width: 16px;
    height: 16px;
  }
  body.theme-light .theme-toggle__thumb{ transform: translateX(20px); }
  body:not(.theme-light) .theme-toggle__thumb{ transform: translateX(0); }
}

@media (max-width: 860px){
  #navToggle:checked ~ .page .header__actions{
    gap: 8px !important;
  }
}

/* =========================================================
   LIGHT MODE FIXES — Burger + Hero Dots
   taruh paling bawah agar menang di cascade
========================================================= */

/* ---------- Burger (mobile button) ---------- */
body.theme-light .burger{
  background: rgba(255,255,255,.75);
  border-color: rgba(10,12,24,.16);
  box-shadow: 0 10px 26px rgba(10,12,24,.08);
}

body.theme-light .burger__lines,
body.theme-light .burger__lines::before,
body.theme-light .burger__lines::after{
  background: rgba(10,12,24,.92); /* garis jadi gelap */
}

/* kalau burger jadi X saat open, tetap gelap */
body.theme-light #navToggle:checked ~ .page .burger{
  background: rgba(255,255,255,.88);
  border-color: rgba(10,12,24,.22);
}


/* ---------- Hero Slider Dots ---------- */
/* dot default (false) harus kelihatan */
body.theme-light .hero-dot{
  background: rgba(10,12,24,.06);
  border-color: rgba(10,12,24,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.50);
}

/* hover lebih jelas */
body.theme-light .hero-dot:hover{
  background: rgba(10,12,24,.10);
  border-color: rgba(10,12,24,.30);
}

/* dot aktif tetap gradient, tapi border lebih tegas */
body.theme-light .hero-dot.is-active{
  border-color: rgba(10,12,24,.22);
  box-shadow: 0 10px 22px rgba(10,12,24,.10);
}

/* fokus keyboard di light */
body.theme-light .hero-dot:focus-visible{
  outline: 2px solid rgba(10,12,24,.55);
  outline-offset: 3px;
}

body.theme-light .btn--outline,
body.theme-light .btn--ghost{
  outline: 1px solid rgba(10,12,24,.55);
  outline-offset: 1px;
}
/* =========================================================
   HERO SLIDER — FIX HEIGHT (no jump between slides)
   taruh paling bawah
========================================================= */

/* 1) Tetapkan tinggi minimum viewport slider */
.hero-slider__viewport{
  min-height: 560px; /* desktop default, sesuaikan jika perlu */
}

/* 2) Biar slide yang lebih pendek ikut “mengisi” tinggi */
.hero-slide,
.hero-slide .hero__grid{
  min-height: inherit;
}

/* 3) Responsive: turunkan min-height untuk layar kecil */
@media (max-width: 980px){
  .hero-slider__viewport{ min-height: 760px; } /* mobile butuh lebih tinggi karena layout 1 kolom */
}

@media (max-width: 560px){
  .hero-slider__viewport{ min-height: 820px; } /* hp kecil */
}

/* ================= Language Dropdown (professional) ================= */
.lang-dd{
  position: relative;
  display: inline-flex;
}

.lang-dd__btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(233,236,255,.92);
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  cursor:pointer;
  user-select:none;
  transition: .18s ease;
}
.lang-dd__btn:hover{
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}
.lang-dd__btn:focus-visible{
  outline: 2px solid rgba(233,236,255,.65);
  outline-offset: 3px;
}
.lang-dd__label{ min-width: 22px; text-align:center; }
.lang-dd__chev{ opacity:.75; }

/* menu */
.lang-dd__menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,12,24,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);

  padding: 8px;
  display: none;
  z-index: 1400;
}

.lang-dd.is-open .lang-dd__menu{ display:block; }

.lang-dd__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius: 12px;
  color: rgba(233,236,255,.92);
  text-decoration:none;
  border: 1px solid transparent;
  transition: .18s ease;
}
.lang-dd__item:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
}
.lang-dd__item.is-active,
.lang-dd__item[aria-current="page"]{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.14);
}
.lang-dd__code{
  width: 34px;
  height: 26px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-weight: 1000;
}
.lang-dd__name{
  flex: 1;
  color: rgba(233,236,255,.88);
  font-weight: 800;
}

/* Light theme support */
body.theme-light .lang-dd__btn{
  color: rgba(11,16,32,.88);
  background: rgba(255,255,255,.55);
  border-color: rgba(10,12,24,.10);
}
body.theme-light .lang-dd__btn:hover{
  background: rgba(255,255,255,.72);
}
body.theme-light .lang-dd__menu{
  background: rgba(255,255,255,.92);
  border-color: rgba(10,12,24,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
body.theme-light .lang-dd__item{
  color: rgba(11,16,32,.88);
}
body.theme-light .lang-dd__name{
  color: rgba(11,16,32,.78);
}
body.theme-light .lang-dd__code{
  border-color: rgba(10,12,24,.10);
  background: rgba(10,12,24,.04);
}

/* =========================================================
   LANG DROPDOWN — make text normal (not bold)
   taruh paling bawah
========================================================= */
.lang-dd__btn{
  font-weight: 600;        /* sebelumnya 900 */
  letter-spacing: .1px;    /* lebih halus */
}

.lang-dd__item{
  font-weight: 500;        /* normal */
}

.lang-dd__name{
  font-weight: 500;        /* sebelumnya 800 */
}

.lang-dd__code{
  font-weight: 600;        /* sebelumnya 1000 */
}

/* optional: ukuran sedikit lebih rapi */
.lang-dd__name{ font-size: 12.5px; }
.lang-dd__code{ font-size: 12px; }

/* =========================================================
   SCROLL REVEAL FAILSAFE
   - Kalau JS belum siap / gagal, konten JANGAN hilang
   taruh PALING BAWAH
========================================================= */
body:not(.reveal-ready) .js-reveal :where(.service, .brand, .card, .contact-item, .value, .process, .step, .accordion details, .catalog, .catalog__controls, .product-card){
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* =========================================================
   MOBILE: Language dropdown tetap di kanan (bukan di tengah)
   taruh PALING BAWAH CSS
========================================================= */
@media (max-width: 860px){
  /* pastikan actions menempel kanan */
  .header__actions{
    margin-left: auto;
    justify-content: flex-end;
  }

  /* kalau dropdown kamu pakai class .lang-dd */
  .lang-dd{
    margin-left: auto;      /* dorong ke kanan */
    align-self: flex-end;   /* tetap rata kanan */
  }

  /* kalau tombol dropdownnya kepanjangan, biar tidak melebar */
  .lang-dd__btn{
    white-space: nowrap;
  }

  /* menu dropdown tetap muncul dari kanan */
  .lang-dd__menu{
    right: 0;
    left: auto;
  }
}




