/* ==========================================================================
   PT. NEXT GEN LTD - Stylesheet website publik
   Warna brand: Navy #0B2361  |  Oranye #F59000
   ========================================================================== */

:root {
  --navy-900: #050f30;
  --navy-800: #071845;
  --navy-700: #0b2361;
  --navy-600: #12307c;
  --navy-500: #1c419b;
  --orange-600: #d97a00;
  --orange-500: #f59000;
  --orange-400: #ffa726;
  --ink: #10182c;
  --body: #4b5668;
  --muted: #7c8798;
  --line: #e5e9f0;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #eef2f9;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 35, 97, .06);
  --shadow: 0 12px 30px rgba(11, 35, 97, .09);
  --shadow-lg: 0 24px 60px rgba(11, 35, 97, .16);
  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-500); }
ul { margin: 0; padding: 0; list-style: none; }
/* Pengaman: ikon SVG inline tanpa aturan ukuran khusus tetap proporsional
   terhadap teks (kalau tidak, SVG memakai lebar penuh container). */
svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: linear-gradient(150deg, var(--navy-800), var(--navy-700) 60%, var(--navy-600)); color: #cfd8ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------------------------- Utilitas ---------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mw-720 { max-width: 720px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--orange-400); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { font-size: 1.03rem; margin-bottom: 0; }
.section--dark .section-head p { color: #b9c4dd; }

/* ---------------------------- Tombol ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 10px 24px rgba(245, 144, 0, .32); }
.btn--primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(245, 144, 0, .38); }

.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; transform: translateY(-2px); }

.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .16); color: #fff; }

.btn--outline { border-color: var(--line); color: var(--navy-700); background: #fff; }
.btn--outline:hover { border-color: var(--navy-700); color: var(--navy-700); transform: translateY(-2px); }

.btn--wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1eb95a; color: #fff; transform: translateY(-2px); }

.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------------------------- Header ------------------------------------ */
.topbar {
  background: var(--navy-800);
  color: #bfcae4;
  font-size: .84rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #e6ecf9; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--orange-400); }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; color: var(--orange-400); flex: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.header.is-stuck { box-shadow: 0 8px 28px rgba(11, 35, 97, .1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; max-width: 230px; min-width: 0; }
.brand__name {
  font-weight: 800; font-size: .98rem; color: var(--navy-700); letter-spacing: -.01em;
  white-space: nowrap;
}
.brand__tag {
  font-size: .71rem; color: var(--muted); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
}
.nav__link:hover { color: var(--navy-700); background: var(--surface-2); }
.nav__link.is-active { color: var(--navy-700); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange-500);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-700);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(330px, 86vw);
  background: #fff;
  z-index: 1000;
  padding: 22px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(5, 15, 48, .2);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 1.4rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.mobile-nav a.mobile-nav__link {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--surface-2);
}
.mobile-nav a.mobile-nav__link:hover,
.mobile-nav a.mobile-nav__link.is-active { background: var(--surface-2); color: var(--navy-700); }
.mobile-nav__footer { margin-top: 20px; display: grid; gap: 10px; }

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 48, .5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------------------------- Hero -------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #d6deef;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(245, 144, 0, .28), transparent 65%);
  filter: blur(10px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #eaf0ff;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero__badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #35d07f;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, .22);
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange-400); }
.hero__lead { font-size: 1.06rem; color: #c3cde6; max-width: 560px; margin-bottom: 26px; }
.hero__points { display: grid; gap: 12px; margin-bottom: 32px; }
.hero__points li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; color: #dbe3f5; }
.hero__points svg { width: 20px; height: 20px; flex: none; color: var(--orange-400); margin-top: 2px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero__floating {
  position: absolute;
  left: -22px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.hero__floating svg { width: 34px; height: 34px; color: var(--orange-500); flex: none; }
.hero__floating strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.hero__floating span { font-size: .8rem; color: var(--muted); }

/* Statistik */
.stats {
  position: relative;
  z-index: 3;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats__item {
  background: rgba(255, 255, 255, .05);
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stats__value { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stats__label { font-size: .85rem; color: #b6c2dd; margin-top: 6px; }

/* ---------------------------- Kartu ------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; margin-bottom: 16px; }
.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-700);
}
.card__link svg { width: 16px; height: 16px; transition: var(--transition); }
.card:hover .card__link { color: var(--orange-500); }
.card:hover .card__link svg { transform: translateX(4px); }

.icon-chip {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(245, 144, 0, .16), rgba(245, 144, 0, .05));
  color: var(--orange-500);
  margin-bottom: 18px;
  transition: var(--transition);
}
.icon-chip svg { width: 28px; height: 28px; }
.card:hover .icon-chip { background: var(--orange-500); color: #fff; }

/* Kartu produk */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.product-card__price { font-weight: 800; color: var(--navy-700); margin-top: auto; padding-top: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--surface-3);
  color: var(--navy-700);
}
.badge--orange { background: rgba(245, 144, 0, .14); color: var(--orange-600); }
.badge--green { background: rgba(37, 211, 102, .14); color: #128c40; }
.badge--float { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(4px); }

/* ---------------------------- Tentang ----------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about-media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 160px;
  height: 160px;
  border: 3px solid var(--orange-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check-list svg { width: 21px; height: 21px; flex: none; color: #22a45d; margin-top: 2px; }

.feature-box {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: var(--transition);
  height: 100%;
}
.feature-box:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.feature-box__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(11, 35, 97, .08); color: var(--navy-700);
}
.feature-box__icon svg { width: 24px; height: 24px; }
.feature-box h4 { margin-bottom: 5px; }
.feature-box p { font-size: .9rem; margin: 0; }

/* ---------------------------- Proyek & galeri --------------------------- */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(5, 15, 48, .92) 8%, rgba(5, 15, 48, .35) 55%, transparent);
  color: #fff;
}
.project-card__overlay h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.project-card__overlay span { font-size: .84rem; color: #c3cde6; }
.project-card__cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--orange-500); color: #fff;
  padding: 5px 13px; border-radius: 999px; font-size: .74rem; font-weight: 700;
}

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(5, 15, 48, .9), transparent);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 48, .93);
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; border-radius: var(--radius); }
.lightbox__caption { color: #fff; text-align: center; margin-top: 14px; font-size: .92rem; }
.lightbox__close {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}

/* ---------------------------- Video branding ---------------------------- */
.video-section { position: relative; overflow: hidden; }
.video-section::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(245, 144, 0, .22), transparent 65%);
  pointer-events: none;
}
/* Varian terang: dipakai di beranda supaya kontras dengan hero navy di atasnya */
.video-section--light::after,
.video-section--white::after { background: radial-gradient(circle, rgba(245, 144, 0, .14), transparent 65%); }
.video-section--light .video-frame,
.video-section--white .video-frame { border-color: var(--line); }
.video-section--light .video-frame__caption,
.video-section--white .video-frame__caption { background: var(--navy-800); color: #c6d1e8; }

.video-frame {
  position: relative;
  margin: 0 auto;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  z-index: 2;
}

/* Rasio 16:9 di semua ukuran layar */
.video-frame__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  background: #000;
  border: 0;
}

/* Tombol putar di atas thumbnail, hilang setelah video diputar */
.video-frame__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(5, 15, 48, .25), rgba(5, 15, 48, .65));
  transition: var(--transition);
}
.video-frame__play:hover { background: linear-gradient(180deg, rgba(5, 15, 48, .15), rgba(5, 15, 48, .55)); }
.video-frame__play.is-hidden { opacity: 0; visibility: hidden; }

.video-frame__play-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange-500);
  box-shadow: 0 16px 40px rgba(245, 144, 0, .45);
  transition: var(--transition);
  position: relative;
}
.video-frame__play-icon svg { width: 38px; height: 38px; margin-left: 4px; }
.video-frame__play:hover .video-frame__play-icon { transform: scale(1.08); background: var(--orange-600); }
.video-frame__play-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(245, 144, 0, .55);
  animation: pulse 2.4s infinite;
}
.video-frame__play-text {
  font-size: .95rem;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.video-frame__caption {
  padding: 14px 20px;
  font-size: .86rem;
  color: #b6c2dd;
  text-align: center;
  background: rgba(5, 15, 48, .85);
}

.video-section__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .video-frame__play-icon { width: 66px; height: 66px; }
  .video-frame__play-icon svg { width: 30px; height: 30px; }
  .video-frame__play-text { font-size: .86rem; }
  .video-section__cta .btn { width: 100%; }
}

/* ---------------------------- Testimoni --------------------------------- */
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--orange-500); }
.stars svg { width: 18px; height: 18px; }
.testi-card blockquote { margin: 0 0 20px; font-size: .96rem; color: var(--body); font-style: italic; }
.testi-card__person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-500));
  color: #fff; display: grid; place-items: center; font-weight: 800; flex: none;
  object-fit: cover;
}
.testi-card__person strong { display: block; color: var(--ink); font-size: .95rem; }
.testi-card__person span { font-size: .82rem; color: var(--muted); }

/* ---------------------------- FAQ --------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange-500);
  transition: var(--transition);
  flex: none;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

/* ---------------------------- Artikel ----------------------------------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.post-card__body h3 { font-size: 1.06rem; }
.post-card__body p { font-size: .92rem; }

.article-body { font-size: 1.04rem; color: #3d4759; }
.article-body p { margin-bottom: 1.35rem; }
.article-body h2, .article-body h3 { margin-top: 2rem; }

.prose-lead { font-size: 1.1rem; color: var(--ink); font-weight: 500; }

/* ---------------------------- Halaman dalam ----------------------------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #cdd7ec;
  padding-block: clamp(48px, 6vw, 76px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(245, 144, 0, .25), transparent 65%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 680px; color: #bcc7e0; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 16px; color: #93a2c4; }
.breadcrumb a { color: #d7dff1; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb span.sep { color: #6e7fa8; }

/* ---------------------------- CTA --------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-700), var(--navy-500));
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  color: #d7dff3;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -80px; bottom: -160px;
  background: radial-gradient(circle, rgba(245, 144, 0, .35), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #c2cde6; max-width: 620px; }
.cta-band__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------- Kontak ------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 48px); align-items: start; }

.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.info-card__icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(245, 144, 0, .13); color: var(--orange-500);
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h4 { margin-bottom: 4px; font-size: .98rem; }
.info-card p, .info-card a { margin: 0; font-size: .92rem; color: var(--body); }
.info-card a:hover { color: var(--orange-500); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(28, 65, 155, .1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 400px; border: 0; }

/* ---------------------------- Alert ------------------------------------- */
.alerts { position: fixed; top: 90px; right: 20px; z-index: 1100; display: grid; gap: 10px; max-width: 380px; }
.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--navy-500);
  font-size: .92rem;
  animation: slideIn .3s ease;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--navy-700); }
.alert span { flex: 1; min-width: 0; }
.alert--success { border-left-color: #22a45d; }
.alert--success svg { color: #22a45d; }
.alert--danger { border-left-color: #e03d3d; }
.alert--danger svg { color: #e03d3d; }
.alert--warning { border-left-color: var(--orange-500); }
.alert--warning svg { color: var(--orange-500); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------------------------- Footer ------------------------------------ */
.footer {
  background: var(--navy-900);
  color: #99a6c4;
  padding-block: 60px 0;
  font-size: .93rem;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: #a9b5d1; }
.footer a:hover { color: var(--orange-400); }
.footer__links { display: grid; gap: 10px; }
.footer__brand img { height: 46px; margin-bottom: 16px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange-500); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #cdd6ea;
  transition: var(--transition);
}
.socials a:hover { background: var(--orange-500); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer__seo { font-size: .82rem; color: #6d7ba0; line-height: 1.8; margin-top: 26px; }

/* ---------------------------- WhatsApp float ---------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px 13px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .45);
  transition: var(--transition);
}
.wa-float:hover { background: #1eb95a; color: #fff; transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}

/* Bar aksi khusus mobile */
.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 940;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(5, 15, 48, .1);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 12px; font-weight: 700; font-size: .9rem;
}
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar .call { background: var(--navy-700); color: #fff; }
.mobile-bar .wa { background: #25d366; color: #fff; }

/* ---------------------------- Filter chips ------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: var(--transition);
}
.filter-chip:hover { border-color: var(--navy-500); color: var(--navy-700); }
.filter-chip.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.search-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.search-bar input {
  flex: 1 1 240px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .94rem;
}
.search-bar input:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(28, 65, 155, .1); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding-inline: 12px;
  display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--body); background: #fff;
}
.pagination a:hover { border-color: var(--navy-700); color: var(--navy-700); }
.pagination .is-current { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* ---------------------------- Detail produk ----------------------------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.detail-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; color: var(--ink); font-weight: 700; background: var(--surface-2); }

.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }

.side-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.side-box h4 { margin-bottom: 14px; }
.side-list { display: grid; gap: 10px; }
.side-list a { font-size: .93rem; display: flex; gap: 8px; align-items: flex-start; color: var(--body); }
.side-list a::before { content: "›"; color: var(--orange-500); font-weight: 800; }
.side-list a:hover { color: var(--navy-700); }

/* ---------------------------- Animasi ----------------------------------- */
/* Animasi hanya aktif bila JavaScript hidup, supaya konten tidak pernah
   tersembunyi kalau JS gagal dimuat (penting untuk SEO & aksesibilitas). */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------- Responsif --------------------------------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1320px) {
  .topbar__hours { display: none; }
}

@media (max-width: 1180px) {
  .brand__text { display: none; }
}

@media (max-width: 992px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 560px; }
  .hero__floating { left: 12px; }
  .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .about-media::after { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .topbar__list--left { display: none; }
}

@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .mobile-bar { display: grid; }
  .wa-float { bottom: 80px; right: 16px; padding: 12px; }
  .wa-float span { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .alerts { top: auto; bottom: 80px; left: 14px; right: 14px; max-width: none; }
  .map-wrap iframe { height: 300px; }
  .brand__tag { display: none; }
  .brand img { height: 38px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .card, .form-card, .side-box { padding: 20px; }
  .hero__cta .btn { width: 100%; }
}
