:root {
  --ccn-navy: #0f3d6e;
  --ccn-blue: #155a96;
  --ccn-gold: #f59e0b;
}

body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; }

.site-nav {
  background: rgba(15, 61, 110, .95);
  backdrop-filter: blur(6px);
}
.site-nav .navbar-brand, .site-nav .nav-link { color: #fff; }
.site-nav .nav-link:hover { color: #bfdbfe; }

.hero {
  position: relative;
  min-height: 88vh;
  background: linear-gradient(135deg, var(--ccn-navy) 0%, #08243f 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background-size: cover; background-position: center;
  opacity: .28;
}
.hero-text { padding-top: 96px; padding-bottom: 48px; }
.hero .btn-outline-light:hover { color: var(--ccn-navy); }

/* ===== Merek: logo di navbar, hero & footer =====
   Ukuran tinggi saja; lebar mengikuti rasio berkas (814:450 lockup,
   256:256 badge). Menentukan width+height tetap seperti 176x52 dulu
   membuat logo asli tampak gepeng karena rasionya berbeda. */
.site-nav .navbar-brand.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark {
  display: block; width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
}
.brand-text { color: #fff; letter-spacing: .2px; line-height: 1.15; }
.brand-text small { display: block; font-size: .68rem; font-weight: 500; color: #a7f3d0; }
@media (min-width: 992px) {
  .site-nav .brand-mark { width: 40px; height: 40px; }
}
.hero-logo { display: block; height: 60px; width: auto; }
@media (min-width: 768px) { .hero-logo { height: 76px; } }
.site-footer .footer-logo { display: block; height: 46px; width: auto; margin: 0 auto .75rem; }
@media (min-width: 768px) { .site-footer .footer-logo { height: 52px; } }

/* ===== Chip kata kunci (SEO + tautan internal) ===== */
.kw-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.kw-chip {
  display: inline-block; padding: .35rem .85rem; border-radius: 999px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--ccn-navy);
  font-size: .875rem; text-decoration: none; transition: background .15s ease;
}
.kw-chip:hover { background: #bfdbfe; color: #08243f; }

/* ===== Header beranda: foto statis + scrim agar teks tetap terbaca =====
   Hanya untuk .hero--static (index.php). Header layanan.php tetap memakai
   foto CMS yang dibuat redup (opacity .28) seperti sebelumnya. */
.hero--static .hero-bg {
  opacity: 1;
  /* foto vertikal: ambil bagian tengah-atas supaya tidak terpotong aneh */
  object-position: center 32%;
  background-position: center 32%;
}
.hero--static .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,46,22,.92) 0%, rgba(5,46,22,.78) 40%,
      rgba(5,46,22,.46) 70%, rgba(5,46,22,.22) 100%),
    linear-gradient(180deg, rgba(5,46,22,.55) 0%, rgba(5,46,22,0) 32%,
      rgba(5,46,22,.38) 100%);
}
.hero--static .container { z-index: 2; }
.hero--static .hero-text { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero--static .card, .hero--static .btn-light { text-shadow: none; }

@media (max-width: 767.98px) {
  .hero--static { min-height: 84vh; }
  .hero--static .hero-bg { background-position: center 24%; }
  /* di layar sempit teks menutupi hampir seluruh lebar: scrim lebih rata */
  .hero--static .hero-scrim {
    background: linear-gradient(180deg,
      rgba(5,46,22,.86) 0%, rgba(5,46,22,.72) 55%, rgba(5,46,22,.86) 100%);
  }
}

.service-card { transition: transform .15s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #dbeafe; color: var(--ccn-navy);
  font-size: 1.5rem;
}

.gallery-item { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; display: block; }
.gallery-item figcaption { color: #4b5563; }

.about-placeholder { background: #ecfdf5; height: 320px; }

.pricing-card { border-top: 4px solid transparent !important; transition: transform .15s ease; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-highlight { border-top-color: var(--ccn-gold) !important; }

.avatar-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ccn-navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .9rem; flex: 0 0 36px;
}

.contact-list li { margin-bottom: .6rem; }

.site-footer { background: #08243f; color: #bfdbfe; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

/* ===== Galeri: filter, badge video, play button ===== */
.filter-btn { border-radius: 50rem; padding-left: .9rem; padding-right: .9rem; }

.gallery-item-wrap { transition: opacity .15s ease; }

.video-thumb { display: block; }
.video-thumb img { transition: transform .2s ease; }
.video-thumb:hover img { transform: scale(1.04); }

.play-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(220, 38, 38, .92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease;
  pointer-events: none;
}
.video-thumb:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: #dc2626; }
.play-badge i { margin-left: 3px; }

/* ===== Video facade (klik-untuk-muat iframe YouTube) ===== */
.video-facade {
  position: relative; aspect-ratio: 16 / 9;
  background: #08243f; cursor: pointer;
}
.video-facade:focus-visible { outline: 3px solid var(--ccn-gold); outline-offset: 2px; }
.video-facade img { transition: transform .25s ease; }
.video-facade:hover img { transform: scale(1.03); }
.video-facade::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.video-facade .play-badge { z-index: 2; width: 68px; height: 68px; font-size: 2.3rem; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== Ikon sosial media (footer + panel WA) ===== */
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); color: #bfdbfe;
  font-size: 1.15rem; line-height: 1; text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-link:hover { background: var(--ccn-gold); color: #08243f; transform: translateY(-2px); }
.social-link:focus-visible { outline: 3px solid var(--ccn-gold); outline-offset: 2px; }
.social-links--light .social-link { background: #ecfdf5; color: var(--ccn-navy); }
.social-links--light .social-link:hover { background: var(--ccn-navy); color: #fff; }

/* ===== Daftar marketing di bagian kontak ===== */
.agent-list { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.agent-list a {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .75rem; border-radius: 12px;
  border: 1px solid #dbeafe; background: #fff; color: inherit;
  text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.agent-list a:hover { border-color: var(--ccn-navy); box-shadow: 0 2px 10px rgba(15, 61, 110, .12); }
.agent-list .avatar-circle { background: #dbeafe; color: var(--ccn-navy); }
.agent-list strong { display: block; font-size: .95rem; }
.agent-list small { color: #6b7280; }
.agent-list .bi-whatsapp { margin-left: auto; color: #25d366; font-size: 1.35rem; }

/* ===== Tombol WhatsApp mengambang ===== */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 1050;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  font-family: inherit;
}
.wa-float__btn {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  border: 0; border-radius: 50rem; padding: .75rem 1.05rem;
  background: #25d366; color: #fff; cursor: pointer;
  font-size: 1.05rem; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.wa-float__btn:hover { background: #1ebe5b; }
.wa-float__btn:focus-visible { outline: 3px solid var(--ccn-navy); outline-offset: 3px; }
.wa-float__btn > .bi-whatsapp { font-size: 1.45rem; line-height: 1; }
.wa-float__label { display: none; }
@media (min-width: 576px) { .wa-float__label { display: inline; } }

.wa-float__pulse {
  position: absolute; top: 10px; right: 12px; width: 10px; height: 10px;
  border-radius: 50%; background: #facc15; box-shadow: 0 0 0 0 rgba(250, 204, 21, .7);
  animation: waPulse 2s infinite;
}
.wa-float__btn.is-open .wa-float__pulse { background: #22c55e; }
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(250, 204, 21, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(250, 204, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.wa-panel {
  width: min(320px, calc(100vw - 32px));
  max-height: min(72vh, 520px); overflow-y: auto;
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .26);
  padding: .85rem;
}
.wa-panel[hidden] { display: none; }
.wa-panel__head { display: flex; align-items: center; gap: .6rem; padding-bottom: .6rem; border-bottom: 1px solid #f1f5f9; }
.wa-panel__head strong { display: block; font-size: .95rem; color: var(--ccn-navy); }
.wa-panel__head small { color: #6b7280; font-size: .72rem; }
.wa-live { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: 0 0 10px; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.wa-panel__list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; }
.wa-panel__list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem; border-radius: 12px; text-decoration: none; color: inherit;
}
.wa-panel__list a:hover { background: #f0fdf4; }
.wa-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  background: #dbeafe; color: var(--ccn-navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.wa-names { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wa-names strong { font-size: .88rem; }
.wa-names small { font-size: .74rem; color: #6b7280; }
.wa-send { margin-left: auto; color: #25d366; font-size: 1.25rem; }
.wa-panel__foot { padding-top: .6rem; margin-top: .35rem; border-top: 1px solid #f1f5f9; }
.wa-panel__foot:empty { display: none; }

@media print { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse { animation: none; }
  .social-link, .video-thumb:hover img { transition: none; }
}

/* Modal video: header transparan di atas iframe gelap */
#videoModal .modal-content { background: transparent; }
#videoModal .modal-header { min-height: 42px; }

/* Badge kategori layanan pada caption galeri */
.gallery-item figcaption .badge { font-weight: 500; }


/* ============================================================
   BAGAI MEMBRANE CANOPY — pemetaan ulang kelas Bootstrap
   ke palet merek (biru navy). Template ini dulu memakai hijau merek
   sebelumnya; kelas Bootstrap btn/text-success dipetakan ke
   biru agar konsisten dengan logo baru tanpa menulis ulang
   setiap markup.
   ============================================================ */
:root {
  --ccn-navy: #0f3d6e;
  --ccn-blue: #1b7fc4;
  --ccn-navy-dark: #08243f;
}

.btn-success {
  --bs-btn-bg: var(--ccn-navy);
  --bs-btn-border-color: var(--ccn-navy);
  --bs-btn-hover-bg: var(--ccn-blue);
  --bs-btn-hover-border-color: var(--ccn-blue);
  --bs-btn-active-bg: var(--ccn-navy-dark);
  --bs-btn-active-border-color: var(--ccn-navy-dark);
  --bs-btn-disabled-bg: var(--ccn-navy);
  --bs-btn-disabled-border-color: var(--ccn-navy);
}
.btn-outline-success {
  --bs-btn-color: var(--ccn-navy);
  --bs-btn-border-color: var(--ccn-navy);
  --bs-btn-hover-bg: var(--ccn-navy);
  --bs-btn-hover-border-color: var(--ccn-navy);
  --bs-btn-active-bg: var(--ccn-navy);
  --bs-btn-active-border-color: var(--ccn-navy);
}
.text-success { color: var(--ccn-navy) !important; }
.bg-success   { background-color: var(--ccn-navy) !important; }
.border-success { border-color: var(--ccn-blue) !important; }
.link-success { color: var(--ccn-navy) !important; }


/* ============================================================
   TATA LETAK BARU — 2026-10-06
   Pembaruan halaman beranda (index.php) supaya tidak lagi mengikuti
   susunan template lama: navbar pil + CTA, hero tengah dengan strip
   angka, galeri berjalan di stage gelap, layanan bento, harga kartu
   gelap-terang, testimoni berjalan, footer kolom.

   Kelas lama (.hero, .hero-bg, .hero-scrim, .play-badge, .video-thumb,
   .kw-chip, .wa-float*, .social-*, .site-footer, .avatar-circle,
   .gallery-item) tetap dipakai layanan.php — tidak dihapus, hanya
   ditambahkan/varian baru. Warna hijau pada scrim lama dibetulkan ke
   navy karena itu sisa merek sebelumnya.
   ============================================================ */

:root {
  --ccn-ink: #0b1f38;
  --ccn-mist: #f4f7fb;
  --ccn-line: #e2e8f0;
  --ccn-gold-2: #fbbf24;
  --mq-fade: #ffffff;
}

/* ---- scrim hero: versi lama masih kehijauan (sisa merek sebelumnya) ---- */
.hero--static .hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 36, 63, .93) 0%, rgba(8, 36, 63, .80) 42%,
      rgba(8, 36, 63, .48) 72%, rgba(8, 36, 63, .22) 100%),
    linear-gradient(180deg, rgba(8, 36, 63, .62) 0%, rgba(8, 36, 63, .10) 34%,
      rgba(8, 36, 63, .72) 100%);
}

/* ---- latar hero dikaburkan ----
   Foto public/assets/img/beranda.jpg masih foto milik merek sebelumnya dan
   ada tulisan "pilar canopy" + domain lama tercetak di lantai bangunannya.
   Selama foto pengganti dari pemilik belum ada, blur 7 px membuat tulisan
   itu tidak terbaca lagi tanpa membuang komposisi fotonya. scale(1.09)
   menutup tepi yang melebar karena blur. Hapus blok ini begitu
   tools/ganti-foto-beranda.php dijalankan dengan foto baru yang bersih. */
.hero--static .hero-bg {
  filter: blur(7px) saturate(.92) brightness(.95);
  transform: scale(1.09);
}

/* ============ NAVBAR ============ */
.site-nav { transition: box-shadow .2s ease, background .2s ease; }
.site-nav.is-stuck {
  background: rgba(8, 36, 63, .98);
  box-shadow: 0 8px 24px rgba(8, 36, 63, .28);
}
.nav-shell { position: relative; }
.site-nav .nav-link {
  position: relative; font-weight: 500; font-size: .95rem;
  padding: .45rem .85rem; color: rgba(255, 255, 255, .86);
}
.site-nav .nav-link::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
  height: 2px; background: var(--ccn-gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link:hover::after { transform: scaleX(1); }

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--ccn-gold); color: #0b1f38; border: 0;
  font-weight: 700; font-size: .92rem; padding: .5rem 1rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245, 158, 11, .38);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-nav-cta:hover { background: var(--ccn-gold-2); color: #0b1f38; transform: translateY(-1px); }
.btn-nav-cta > .bi-whatsapp { font-size: 1.1rem; }
@media (max-width: 991.98px) {
  .nav-cta { margin-top: .6rem; justify-content: center; }
}

/* ============ HERO TENGAH ============
   Padding atas = tinggi navbar tetap (60 px di ponsel, 72 px di desktop) +
   ruang napas. Tanpa ini, di layar sempit isi hero lebih tinggi dari
   viewport dan bagian atasnya (chip "Survey gratis") tersembunyi di bawah
   navbar. */
.hero--center { min-height: 92vh; text-align: center; padding: 84px 0 44px; }
@media (min-width: 992px) { .hero--center { padding: 100px 0 60px; } }
.hero--center .container { display: flex; flex-direction: column; justify-content: center; }
.hero--center .hero-inner { max-width: 820px; }
.hero--center .hero-logo { margin-inline: auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
  color: #e2ecf7; border-radius: 999px; padding: .38rem .95rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .2px;
  backdrop-filter: blur(4px); margin-bottom: 1rem;
}
.hero-eyebrow .bi { color: var(--ccn-gold-2); }

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: .85rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: #dbeafe;
  max-width: 640px; margin: 0 auto 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.btn-gold {
  background: var(--ccn-gold); color: #0b1f38; border: 0; font-weight: 700;
  border-radius: 999px; padding: .8rem 1.6rem;
  box-shadow: 0 10px 26px rgba(245, 158, 11, .36);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.btn-gold:hover, .btn-gold:focus { background: var(--ccn-gold-2); color: #0b1f38; transform: translateY(-2px); }
.btn-glass {
  background: rgba(255, 255, 255, .10); color: #fff;
  border: 1px solid rgba(255, 255, 255, .40); font-weight: 600; border-radius: 999px;
  padding: .8rem 1.6rem; backdrop-filter: blur(4px);
  transition: background .16s ease, transform .16s ease;
}
.btn-glass:hover { background: rgba(255, 255, 255, .22); color: #fff; transform: translateY(-2px); }

/* strip angka di bawah tombol.
   Catatan: di dalam .hero--center .container yang dipakai sebagai flex kolom,
   margin-inline:auto membuat lebarnya jadi seukuran kontennya (fit-content),
   bukan 780px — tiga angka malah jatuh ke baris kedua. Karena itu lebarnya
   ditulis eksplisit. */
.hero-stats {
  list-style: none; margin: 2.2rem auto 0; padding: 1rem 0;
  width: min(780px, 100%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.hero-stats li {
  flex: 1 1 200px; display: flex; flex-direction: column; gap: .1rem;
  padding: .2rem 1rem; text-align: center;
}
.hero-stats li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat-num small { font-size: .85rem; font-weight: 600; color: var(--ccn-gold-2); }
.stat-cap { font-size: .8rem; color: #bfdbfe; letter-spacing: .2px; }
@media (max-width: 575.98px) {
  .hero-stats li + li { border-left: 0; }
  .hero-stats li { flex-basis: 100%; }
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  color: rgba(255, 255, 255, .75); font-size: 1.4rem; z-index: 3;
  text-decoration: none; animation: turun 2.2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--ccn-gold-2); }
@keyframes turun {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 7px); }
}

/* ============ KERANGKA SECTION ============ */
.sec { padding: 4.5rem 0; }
.sec--tight { padding: 3rem 0; }
.sec--tall { padding: 5.5rem 0; }
.sec--mist { background: var(--ccn-mist); }
.sec--dark { background: linear-gradient(160deg, #0b1f38 0%, var(--ccn-navy-dark) 100%); color: #fff; }
.sec--dark .sec-sub, .sec--dark .text-muted { color: #bfdbfe; }

.sec-head { margin-bottom: 2.2rem; }
.sec-kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ccn-blue); margin-bottom: .35rem;
}
.sec--dark .sec-kicker { color: var(--ccn-gold-2); }
.sec-title {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem); font-weight: 800;
  color: var(--ccn-ink); line-height: 1.2; letter-spacing: -.3px; margin-bottom: .6rem;
}
.sec-title em { font-style: normal; color: var(--ccn-gold); }
.sec--dark .sec-title { color: #fff; }
.sec-sub { color: #64748b; max-width: 640px; margin: 0 auto; font-size: .98rem; }

/* ============ GALERI BERJALAN (stage gelap) ============ */
.gal-band { padding: 4.5rem 0 5rem; background: #fff; }
.gal-stage {
  --mq-fade: var(--ccn-navy-dark);
  background: linear-gradient(160deg, #0b1f38 0%, var(--ccn-navy-dark) 100%);
  padding: 2.4rem 0 2.6rem; margin: 1.5rem 0 2.4rem;
  position: relative;
}

.marquee { position: relative; overflow: hidden; --mq-fade: #fff; }
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 1rem; }
.marquee__track {
  display: flex; width: max-content;
  animation: mq-kiri 48s linear infinite;
  will-change: transform;
}
.marquee__row--rev .marquee__track { animation-name: mq-kanan; animation-duration: 56s; }
/* jarak antar kartu pakai margin, bukan gap: kalau gap, perpindahan -50%
   tidak persis satu salinan dan loop-nya tersendat tiap putaran. */
.marquee__track > * { margin-right: 1rem; flex: 0 0 auto; }

@keyframes mq-kiri  { from { transform: translate3d(0, 0, 0); }      to { transform: translate3d(-50%, 0, 0); } }
@keyframes mq-kanan { from { transform: translate3d(-50%, 0, 0); }   to { transform: translate3d(0, 0, 0); } }

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    var(--mq-fade) 0%, rgba(255, 255, 255, 0) 7%,
    rgba(255, 255, 255, 0) 93%, var(--mq-fade) 100%);
}

.mq-item {
  position: relative; display: block; width: 268px; height: 178px;
  border-radius: 14px; overflow: hidden; background: #12365c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mq-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mq-item:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 14px 30px rgba(0, 0, 0, .40); }
.mq-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(4, 22, 40, .82) 100%);
}
.mq-cap {
  position: absolute; left: .8rem; right: .8rem; bottom: .65rem; z-index: 2;
  color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
  .mq-item { width: 200px; height: 138px; }
  .mq-cap { font-size: .72rem; }
}

/* ---- tombol filter galeri ---- */
.filter-btn {
  border: 1px solid var(--ccn-line); background: #fff; color: #475569;
  font-size: .84rem; font-weight: 600; padding: .4rem 1.05rem; border-radius: 999px;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--ccn-navy); color: var(--ccn-navy); }
.filter-btn.active {
  background: var(--ccn-navy); border-color: var(--ccn-navy); color: #fff;
  box-shadow: 0 6px 16px rgba(15, 61, 110, .26);
}
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

/* ---- kisi galeri ---- */
.gal-band .gallery-item {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--ccn-line); box-shadow: 0 4px 14px rgba(15, 61, 110, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gal-band .gallery-item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15, 61, 110, .18); }
.gal-band .gallery-item img { height: 168px; }
.gal-band .gallery-item figcaption { padding: .55rem .7rem; font-size: .82rem; background: #fff; }
.gal-tag {
  display: inline-block; margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px;
  background: #eef4fb; color: var(--ccn-navy); font-size: .7rem; font-weight: 600;
}

/* foto di luar batas awal: ada di HTML, baru dibuka lewat tombol */
#galleryGrid .gal-tersembunyi { display: none; }
.btn-lain {
  border: 1px solid var(--ccn-line); background: #fff; color: var(--ccn-navy);
  border-radius: 999px; font-size: .88rem; font-weight: 600; padding: .5rem 1.2rem;
  transition: all .15s ease;
}
.btn-lain:hover { background: var(--ccn-navy); border-color: var(--ccn-navy); color: #fff; }

/* ============ LAYANAN BENTO ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 991.98px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--ccn-line); border-radius: 18px;
  text-decoration: none; color: inherit; min-height: 100%;
  box-shadow: 0 4px 16px rgba(15, 61, 110, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover { transform: translateY(-6px); border-color: #cfe0f2; box-shadow: 0 18px 34px rgba(15, 61, 110, .16); }
.svc-card__img { display: block; overflow: hidden; height: 158px; background: #e8eef6; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.svc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.25rem;
  background: linear-gradient(150deg, var(--ccn-navy), var(--ccn-blue)); color: #fff;
}
.svc-name { font-size: 1.02rem; font-weight: 700; color: var(--ccn-ink); margin: .35rem 0 0; }
.svc-sum { font-size: .87rem; color: #64748b; margin: 0; }
.svc-more {
  margin-top: auto; padding-top: .75rem; font-size: .85rem; font-weight: 700;
  color: var(--ccn-blue); display: inline-flex; align-items: center; gap: .35rem;
}
.svc-more .bi { transition: transform .15s ease; }
.svc-card:hover .svc-more .bi { transform: translateX(4px); }
/* kartu pertama lebih lebar: mata punya titik mulai, grid tidak rata-rata monoton */
@media (min-width: 992px) {
  .svc-card--lead { grid-column: span 2; }
  .svc-card--lead .svc-card__img { height: 210px; }
  .svc-card--lead .svc-name { font-size: 1.2rem; }
  /* --span dihitung di PHP supaya baris terakhir bento tidak bolong */
  .svc-card--tail { grid-column: span var(--span, 1); }
}

/* ============ PANEL AREA ============ */
.area-panel {
  background: linear-gradient(150deg, var(--ccn-ink) 0%, var(--ccn-navy) 60%, #12508c 100%);
  border-radius: 22px; padding: 2.1rem 1.8rem; color: #fff;
  box-shadow: 0 20px 44px rgba(11, 31, 56, .26);
}
.area-panel .sec-title { color: #fff; }
.area-panel p { color: #dbeafe; }
.area-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.area-points li {
  display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: #eaf2fb;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: .6rem .8rem;
}
.area-points .bi { color: var(--ccn-gold-2); font-size: 1.05rem; }
.area-panel .kw-chip { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .22); color: #eaf2fb; }
.area-panel .kw-chip:hover { background: var(--ccn-gold); border-color: var(--ccn-gold); color: #0b1f38; }

/* ============ HARGA ============ */
.price-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--ccn-line); border-radius: 20px; padding: 1.6rem 1.4rem;
  box-shadow: 0 6px 20px rgba(15, 61, 110, .07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(15, 61, 110, .16); }
.price-card--best { background: linear-gradient(165deg, var(--ccn-ink), var(--ccn-navy)); border-color: transparent; color: #fff; }
.price-card--best .price-name, .price-card--best .price-amount { color: #fff; }
.price-card--best .price-list li { color: #dbeafe; }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ccn-gold); color: #0b1f38; font-size: .74rem; font-weight: 700;
  border-radius: 999px; padding: .28rem .8rem; letter-spacing: .3px;
  box-shadow: 0 6px 14px rgba(245, 158, 11, .35);
}
.price-name { font-size: 1.05rem; font-weight: 700; color: var(--ccn-ink); margin: .2rem 0 .6rem; }
.price-figure { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1rem; }
.price-amount { font-size: 1.85rem; font-weight: 800; color: var(--ccn-navy); letter-spacing: -.4px; }
.price-unit { font-size: .82rem; color: #94a3b8; }
.price-card--best .price-unit { color: #bfdbfe; }
.price-list { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .55rem; }
.price-list li { font-size: .88rem; color: #475569; display: flex; gap: .5rem; align-items: flex-start; }
.price-list .bi { color: var(--ccn-gold); flex: 0 0 auto; margin-top: .1rem; }
.price-cta {
  display: block; width: 100%; margin-top: auto;
  border: 1px solid var(--ccn-navy); color: var(--ccn-navy);
  border-radius: 999px; font-weight: 700; font-size: .92rem; padding: .6rem 1rem;
  transition: all .15s ease;
}
.price-cta:hover { background: var(--ccn-navy); color: #fff; }
.price-cta--gold { background: var(--ccn-gold); border-color: var(--ccn-gold); color: #0b1f38; }
.price-cta--gold:hover { background: var(--ccn-gold-2); border-color: var(--ccn-gold-2); color: #0b1f38; }

/* ============ VIDEO ============ */
.video-more { color: var(--ccn-gold-2); font-weight: 700; font-size: .9rem; text-decoration: none; }
.video-more:hover { color: #fff; }
.sec--dark .video-facade { box-shadow: 0 24px 54px rgba(0, 0, 0, .45); }

/* ============ TESTIMONI BERJALAN ============ */
.marquee--quote .marquee__track { animation-duration: 60s; }
.quote-card {
  width: 340px; background: #fff; border: 1px solid var(--ccn-line);
  border-radius: 18px; padding: 1.2rem 1.3rem; margin: 0;
  box-shadow: 0 6px 18px rgba(15, 61, 110, .08);
  display: flex; flex-direction: column; gap: .7rem;
}
.marquee--quote .quote-card { margin-right: 1rem; }
.q-stars { color: var(--ccn-gold); font-size: .85rem; letter-spacing: 1px; }
.q-text { font-size: .92rem; color: #334155; margin: 0; line-height: 1.55; }
.q-who { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.q-who strong { display: block; font-size: .88rem; color: var(--ccn-ink); }
.q-who small { color: #94a3b8; font-size: .76rem; }
.q-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px; object-fit: cover;
  background: var(--ccn-navy); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
@media (min-width: 768px) {
  .row > .quote-card, .row > div > .quote-card { width: 100%; height: 100%; }
}

/* ============ TENTANG ============ */
.about-visual { position: relative; }
.about-visual img, .about-visual .about-placeholder {
  width: 100%; height: 340px; object-fit: cover; border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 61, 110, .20);
}
.about-visual .about-placeholder { background: linear-gradient(150deg, var(--ccn-navy), var(--ccn-blue)); color: rgba(255, 255, 255, .6); }
.about-badge {
  position: absolute; right: 14px; bottom: -14px;
  background: var(--ccn-gold); color: #0b1f38; font-size: .8rem; font-weight: 600;
  border-radius: 12px; padding: .45rem .8rem; box-shadow: 0 8px 18px rgba(245, 158, 11, .34);
}
.about-badge strong { font-weight: 800; }
.about-body { color: #475569; }
.about-checks { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .6rem; }
.about-checks li { display: flex; gap: .6rem; align-items: center; font-size: .93rem; color: var(--ccn-ink); font-weight: 500; }
.about-checks .bi { color: var(--ccn-gold); }
.about-legal {
  font-size: .82rem; color: #64748b; border-top: 1px dashed var(--ccn-line);
  padding-top: .9rem; margin: 0;
}

/* ============ FAQ ============ */
.faq-acc { border: 0; }
.faq-acc .accordion-item {
  border: 1px solid var(--ccn-line); border-radius: 14px !important;
  margin-bottom: .7rem; overflow: hidden; background: #fff;
}
.faq-acc .accordion-button {
  font-weight: 600; font-size: .96rem; color: var(--ccn-ink);
  box-shadow: none; padding: 1rem 1.15rem;
}
.faq-acc .accordion-button:not(.collapsed) { background: var(--ccn-mist); color: var(--ccn-navy); }
.faq-acc .accordion-button:focus { box-shadow: none; border-color: var(--ccn-line); }
.faq-acc .accordion-body { color: #475569; font-size: .92rem; padding: 0 1.15rem 1.1rem; }

/* ============ KONTAK ============ */
.cta-panel {
  background: #fff; border: 1px solid var(--ccn-line); border-radius: 20px;
  padding: 1.6rem 1.4rem; box-shadow: 0 10px 26px rgba(15, 61, 110, .07);
}
.cta-panel__title { font-size: 1.15rem; font-weight: 800; color: var(--ccn-ink); margin-bottom: .5rem; }
.cta-panel__text { font-size: .92rem; color: #64748b; margin-bottom: 1.2rem; }

.contact-card {
  display: flex; align-items: center; gap: .8rem;
  background: linear-gradient(150deg, var(--ccn-ink), var(--ccn-navy));
  border-radius: 16px; padding: .9rem 1rem; color: #fff; position: relative;
}
.contact-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: var(--ccn-gold); color: #0b1f38; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem;
}
.contact-card__who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-card__who strong { font-size: .98rem; }
.contact-card__who small { color: #bfdbfe; font-size: .78rem; }
.contact-card__tick { margin-left: auto; color: var(--ccn-gold-2); font-size: 1.2rem; }

.contact-meta { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contact-meta li { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: #475569; }
.contact-meta .bi { color: var(--ccn-navy); margin-top: .15rem; }
.contact-meta a { color: inherit; text-decoration: none; }
.contact-meta small { display: block; color: #94a3b8; }
.social-on-light .social-link { background: #eef4fb; color: var(--ccn-navy); }
.social-on-light .social-link:hover { background: var(--ccn-navy); color: #fff; }

.form-panel {
  background: #fff; border: 1px solid var(--ccn-line); border-radius: 20px;
  padding: 1.6rem 1.4rem; box-shadow: 0 10px 26px rgba(15, 61, 110, .07);
}
.form-panel__title { font-size: 1.15rem; font-weight: 800; color: var(--ccn-ink); margin-bottom: 1rem; }
.form-panel .form-label { color: var(--ccn-ink); }
.form-panel .form-control, .form-panel .form-select { border-radius: 10px; border-color: var(--ccn-line); padding: .6rem .8rem; }
.form-panel .form-control:focus, .form-panel .form-select:focus {
  border-color: var(--ccn-blue); box-shadow: 0 0 0 .18rem rgba(21, 90, 150, .14);
}

/* ============ FOOTER KOLOM ============ */
.site-footer.footer-new { padding: 3.4rem 0 1.6rem; color: #bfdbfe; }
.footer-top { padding-bottom: 1.6rem; border-bottom: 1px solid rgba(191, 219, 254, .16); }
.footer-note { font-size: .85rem; color: #a8c6e6; max-width: 320px; }
.footer-title {
  font-size: .78rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: #fff; margin-bottom: .9rem;
}
.footer-links, .footer-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: #a8c6e6; font-size: .87rem; text-decoration: none; transition: color .15s ease; }
.footer-links a:hover { color: var(--ccn-gold-2); }
.footer-meta li { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: #a8c6e6; }
.footer-meta .bi { color: var(--ccn-gold-2); margin-top: .15rem; }
.footer-meta a { color: inherit; text-decoration: none; display: flex; gap: .6rem; }
.footer-meta a:hover { color: var(--ccn-gold-2); }
.footer-meta small { display: block; color: #7fa8cf; }
.footer-bottom { padding-top: 1.3rem; text-align: center; }
.footer-bottom .small { color: #cfe3f7; }
/* .text-muted Bootstrap hampir tak terbaca di atas navy — warna sendiri */
.footer-catatan { color: #8fb4d8; }
@media (min-width: 992px) { .footer-bottom { text-align: left; } }

/* ============ REVEAL SAAT DIGULIR ============
   Hanya disembunyikan kalau html punya kelas .js (ditulis skrip inline di
   <head>). Tanpa itu — atau kalau app.js gagal turun — konten tetap tampil,
   jadi tidak ada halaman kosong karena JavaScript. */
.reveal { transition: opacity .5s ease, transform .5s ease; }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; }
  .hero-scroll { animation: none; }
}

