/* ============================================================
   PT DIMENSI TEKNOLOGI INFORMATIKA — Company Profile
   Tema: Navy Blue (#0A1D3F) + Putih, sentuhan Cyan & Biru Muda
   ============================================================ */

:root {
  --navy-950: #040a18;
  --navy-900: #0a1d3f;
  --navy-800: #0f2a56;
  --navy-700: #16366e;
  --navy-600: #1e4486;
  --blue-500: #2563eb;
  --cyan-400: #38bdf8;
  --cyan-300: #7dd3fc;
  --sky: #22d3ee;
  --gold: #f5b545;
  --light: #f4f7fc;
  --light-2: #eaf1fb;
  --border: #e3eaf5;
  --text: #3a4a66;
  --heading: #0a1d3f;
  --white: #ffffff;
  --grad-navy: linear-gradient(135deg, #0a1d3f 0%, #123a7d 60%, #1e5aa8 100%);
  --grad-cyan: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);
  --shadow-sm: 0 4px 14px rgba(10, 29, 63, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 29, 63, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 29, 63, 0.18);
  --radius: 18px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  /* Cegah elemen ber-transform (AOS) melebarkan layout viewport di mobile. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--cyan-400);
  color: var(--navy-950);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--navy-700), var(--cyan-400));
  border-radius: 8px;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
  /* Fallback CSS: bila JS gagal berjalan, preloader tetap tersembunyi. */
  animation: preloaderFallback 0.4s ease 6s forwards;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  display: block;
  width: clamp(160px, 42vw, 200px);
  max-width: 78vw;
  margin: 0 auto 20px;
  animation: logoFade 0.8s ease both, logoPulse 2.8s ease-in-out 0.8s infinite;
}

.preloader-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  margin: 0 auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 99px;
  background: var(--grad-cyan);
  animation: loadSlide 1.2s ease-in-out infinite;
}

@keyframes loadSlide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(320%);
  }
}

.preloader-inner p {
  margin: 14px 0 0;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ---------- DB error bar ---------- */
.db-error-bar {
  background: #7f1d1d;
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 20px;
  text-align: center;
  position: relative;
  z-index: 9999;
}

/* ---------- Navbar ---------- */
#mainNav {
  padding: 14px 0;
  transition: all 0.35s ease;
  background: transparent;
  z-index: 1050;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.94rem;
  margin: 0 4px;
  position: relative;
  padding: 8px 10px;
}

#mainNav .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--cyan-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  transform: scaleX(1);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--cyan-300);
}

#mainNav.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(10, 29, 63, 0.1);
}

#mainNav.scrolled .nav-link {
  color: var(--navy-700);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  color: var(--blue-500);
}

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A1D3F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo gambar (PNG transparan). Di navbar transparan & footer (latar gelap)
   logo navy asli tidak terbaca, jadi dibalik menjadi putih; saat navbar
   scrolled (latar putih) warna asli dipertahankan. */
.brand-img {
  height: 42px;
  width: auto;
  transition: filter 0.35s ease;
}

#mainNav:not(.scrolled) .brand-img {
  filter: brightness(0) invert(1);
}

#mainNav.scrolled .brand-img {
  filter: none;
}

/* Fallback tanpa JavaScript untuk halaman berlatar terang tanpa banner:
   navbar dipaksa berlatar putih agar logo navy tetap terbaca. */
#mainNav[data-solid] {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(10, 29, 63, 0.1);
}

#mainNav[data-solid] .brand-img {
  filter: none;
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-cta {
  background: var(--grad-cyan);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 99px;
  padding: 9px 20px;
  border: 0;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
  transition: all 0.3s ease;
}

/* ---------- Dropdown navigasi (Perusahaan / Solusi & Layanan) ---------- */
#mainNav .nav-dropdown {
  position: relative;
}

#mainNav .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}

#mainNav .nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

#mainNav .nav-caret {
  font-size: 0.7rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

#mainNav .nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

#mainNav .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 224px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(10, 29, 63, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(10, 29, 63, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1060;
}

#mainNav .nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#mainNav .nav-dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

#mainNav .nav-dropdown-link:hover,
#mainNav .nav-dropdown-link:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-500);
  outline: none;
}

#mainNav .nav-dropdown-link.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-500);
  font-weight: 600;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(34, 211, 238, 0.5);
  color: #fff;
}

/* ---------- Aksi kanan navbar (bahasa + CTA) ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Pemilih bahasa (ID / EN) ---------- */
.lang-switch-item {
  display: flex;
  align-items: center;
}

/* Warna dipusatkan di custom property agar kondisi header gelap/terang cukup
   menimpa variabel, tanpa menduplikasi deklarasi.
   Default = header transparan di atas hero gelap. */
.lang-switch {
  --ls-bg: #173c72;
  --ls-border: #6087bb;
  --ls-text: #dae9ff;
  --ls-hover-bg: rgba(255, 255, 255, 0.16);
  --ls-hover-text: #ffffff;
  --ls-active-bg: #071b3f;
  --ls-active-text: #ffffff;
  --ls-focus: #dae9ff;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ls-bg);
  border: 1px solid var(--ls-border);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

/* Hanya label teks (tanpa bendera/ikon) agar ringkas: 4 + 28 + 4 = 36 px tinggi. */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1;
  color: var(--ls-text);
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lang-switch a:hover {
  background: var(--ls-hover-bg);
  color: var(--ls-hover-text);
}

.lang-switch a.is-active {
  background: var(--ls-active-bg);
  color: var(--ls-active-text);
  box-shadow: 0 3px 10px rgba(4, 10, 24, 0.28);
}

.lang-switch a:focus-visible {
  outline: 2px solid var(--ls-focus);
  outline-offset: 2px;
}

/* Header berlatar putih (scrolled): variabel diubah ke palet terang. */
#mainNav.scrolled .lang-switch {
  --ls-bg: rgba(10, 29, 63, 0.05);
  --ls-border: var(--border);
  --ls-text: var(--navy-700);
  --ls-hover-bg: rgba(10, 29, 63, 0.08);
  --ls-hover-text: var(--navy-900);
  --ls-active-bg: #071b3f;
  --ls-focus: var(--navy-700);
}

/* Navbar dipaksa putih (data-solid) hanya relevan di desktop; di mobile panel
   menu-nya tetap navy sehingga tetap memakai palet gelap. */
@media (min-width: 992px) {
  #mainNav[data-solid] .lang-switch {
    --ls-bg: rgba(10, 29, 63, 0.05);
    --ls-border: var(--border);
    --ls-text: var(--navy-700);
    --ls-hover-bg: rgba(10, 29, 63, 0.08);
    --ls-hover-text: var(--navy-900);
    --ls-active-bg: #071b3f;
    --ls-focus: var(--navy-700);
  }
}

@media (max-width: 991.98px) {
  .lang-switch-item {
    margin: 10px 0 4px;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .lang-switch a {
    flex: 1;
    min-height: 28px;
    padding: 0 12px;
  }
}

/* ---------- Halaman dalam: banner ---------- */
.page-banner {
  position: relative;
  background: var(--grad-navy);
  padding: 200px 0 140px;
  overflow: hidden;
}

.page-banner h1,
.page-banner .page-banner-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  text-transform: capitalize;
  margin: 0 0 .5rem;
}

#bannerCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
}

.page-banner .breadcrumb {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.page-banner .breadcrumb a {
  color: var(--cyan-300);
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

.banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.banner-wave svg {
  width: 100%;
  height: 80px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-navy);
  padding: 190px 0 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-grid {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%,
      #000 0%,
      transparent 68%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: var(--cyan-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: dotPulse 1.6s infinite;
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

.hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin: 22px 0 18px;
}

.hero h1 .grad-text {
  background: linear-gradient(120deg, #7dd3fc, #38bdf8 45%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.typed-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--cyan-300);
  min-height: 2.2em;
  margin-bottom: 16px;
}

.typed-line .cursor {
  color: var(--sky);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-hero {
  background: var(--grad-cyan);
  color: #fff;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 99px;
  border: 0;
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.4);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: 0 16px 34px rgba(34, 211, 238, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy-800);
  transform: translateY(-4px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
}

.hero-stat .num span {
  color: var(--sky);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.25);
  box-shadow: 0 40px 80px rgba(2, 8, 23, 0.55);
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform 0.5s ease;
}

.hero-frame img {
  width: 100%;
  display: block;
  transform: scale(1.03);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 5s ease-in-out infinite;
}

.float-card .fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: var(--grad-cyan);
}

.float-card .fc-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.float-card .fc-label {
  font-size: 0.78rem;
  color: var(--text);
}

.fc-1 {
  top: 6%;
  right: -26px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 24%;
  left: -30px;
  animation-delay: 1.4s;
}

.fc-3 {
  bottom: -20px;
  right: 12%;
  animation-delay: 2.4s;
}

.fc-2 .fc-icon {
  background: var(--grad-navy);
}

.fc-3 .fc-icon {
  background: linear-gradient(135deg, #f5b545, #f78c3c);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- Section umum ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.section.bg-light {
  background: var(--light);
}

.section.bg-navy {
  background: var(--navy-900);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head.left {
  text-align: left;
  margin: 0 0 40px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.section-head.center .kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.02rem;
  margin-bottom: 0;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg,
      var(--navy-800),
      var(--navy-600) 55%,
      #1e5aa8);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}

.stats-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  filter: blur(60px);
}

.stats-band::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  filter: blur(70px);
}

.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 8px;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--cyan-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
}

.stat-num .suffix {
  color: var(--sky);
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ---------- Kartu layanan ---------- */
.service-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  background: var(--grad-navy);
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--grad-cyan);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 26px rgba(34, 211, 238, 0.4);
}

.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-link {
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--navy-800);
}

.service-link:hover i {
  transform: translateX(6px);
}

.service-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--light-2);
  line-height: 1;
  user-select: none;
  transition: color 0.4s ease;
}

.service-card:hover .service-num {
  color: rgba(34, 211, 238, 0.28);
}

/* ---------- Kartu solusi ---------- */
.solution-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 211, 238, 0.5);
}

.solution-card .sol-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--light-2);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.solution-card .sol-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-500);
  background: linear-gradient(135deg, #eaf2ff, #e0f7fe);
  margin-bottom: 18px;
  transition: all 0.35s ease;
}

.solution-card:hover .sol-icon {
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: 0 10px 22px rgba(34, 211, 238, 0.4);
}

.solution-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.sol-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sol-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sol-features li i {
  color: var(--sky);
}

/* ---------- Kartu kenapa kami ---------- */
.why-card {
  height: 100%;
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue-500);
  background: linear-gradient(135deg, #eaf2ff, #e0f7fe);
  transition: all 0.4s ease;
}

.why-card:hover .why-icon {
  background: var(--grad-navy);
  color: var(--cyan-300);
  transform: scale(1.1) rotate(8deg);
}

.why-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Tentang preview / section split ---------- */
.split-img {
  position: relative;
}

.split-img .img-main {
  border-radius: 24px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.split-img::before {
  content: "";
  position: absolute;
  inset: 34px -30px -30px 34px;
  background: var(--grad-cyan);
  border-radius: 24px;
  opacity: 0.16;
}

.exp-badge {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 34px;
  background: var(--grad-navy);
  color: #fff;
  text-align: center;
  padding: 20px 26px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
}

.exp-badge .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}

.exp-badge .num span {
  color: var(--sky);
}

.exp-badge .lbl {
  font-size: 0.78rem;
  opacity: 0.85;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 8px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.check-list li i {
  color: var(--blue-500);
  font-size: 1.15rem;
  margin-top: 3px;
}

/* ---------- Tim / nilai ---------- */
.value-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--border);
}

.value-item:last-child {
  border-bottom: 0;
}

.value-item .v-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-500);
  background: var(--light-2);
}

.value-item h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Portfolio ---------- */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-btn {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 22px;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--cyan-400);
  color: var(--blue-500);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--grad-cyan);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.port-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .port-img img {
  transform: scale(1.12);
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(4, 10, 24, 0.88),
      rgba(10, 29, 63, 0.15) 55%,
      transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.portfolio-card:hover .port-overlay {
  opacity: 1;
}

.port-overlay .p-cat {
  color: var(--cyan-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.port-overlay h4 {
  color: #fff;
  font-size: 1.1rem;
  margin: 4px 0 10px;
}

.port-overlay .p-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.port-body {
  padding: 20px 22px 24px;
}

.port-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.port-body p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text);
}

.port-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--navy-600);
  font-weight: 600;
}

.port-tags i {
  color: var(--sky);
  margin-right: 4px;
}

/* ---------- Klien marquee ---------- */
.marquee-wrap {
  position: relative;
  /* `clip` mencegah area marquee bisa digeser sentuh (overflow: hidden tetap
     dapat di-scroll secara terprogram); fallback hidden untuk browser lama. */
  overflow: hidden;
  overflow: clip;
  /* Warna tepi fade mengikuti latar section agar tidak muncul pita putih. */
  --marquee-fade: #fff;
}

.section.bg-light .marquee-wrap {
  /* Bootstrap `.bg-light` (#f8f9fa) menang lewat !important, bukan --light. */
  --marquee-fade: #f8f9fa;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--marquee-fade), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--marquee-fade), transparent);
}

.marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee.marquee-2 {
  animation-direction: reverse;
  animation-duration: 34s;
  margin-top: 22px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.client-logo {
  width: 190px;
  height: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

.client-logo:hover {
  border-color: var(--cyan-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-logo .cl-init {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: var(--grad-navy);
}

.client-logo .cl-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
  line-height: 1.25;
}

.client-logo .cl-sector {
  font-size: 0.72rem;
  color: var(--text);
}

/* ---------- Testimoni ---------- */
/* Padding section lebih ringkas khusus area testimoni. */
.section.testi-section {
  padding: 72px 0;
}

.testi-section .section-head {
  margin-bottom: 34px;
}

.testi-section .section-title {
  margin-bottom: 10px;
  line-height: 1.2;
}

.testi-section .section-lead {
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

.testi-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testi-card {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 12px 32px rgba(10, 29, 63, 0.07);
  position: relative;
}

/* Ikon kutipan berada di dalam kartu agar tidak terpotong overflow carousel. */
.testi-quote-mark {
  display: flex;
  align-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--blue-500);
  font-size: 1.75rem;
  line-height: 1;
}

.testi-stars {
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-style: normal;
  margin: 0;
  max-width: 68ch;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  background: var(--grad-navy);
}

.testi-person .t-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--navy-900);
}

.testi-person .t-role {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 2px;
  color: #64748b;
}

/* Transisi geser horizontal halus (Bootstrap default 0.6s). */
.testi-carousel .carousel-item {
  transition: transform 0.55s ease-in-out;
}

/* Stabilitas tinggi kartu di desktop agar pergantian slide tidak menggeser layout. */
@media (min-width: 992px) {
  .testi-carousel .testi-card {
    min-height: 300px;
  }
}

.testi-carousel .carousel-indicators {
  position: static;
  margin: 22px 0 0;
}

.testi-carousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7d6ec;
  border: 0;
  margin: 0 5px;
  transition: width 0.3s ease, background-color 0.3s ease;
  position: relative;
}

/* Titik indikator hanya 8px; perluas area ketuknya (transparan, tanpa
   mengubah tampilan) agar nyaman dipakai di layar sentuh. */
.testi-carousel .carousel-indicators button::before {
  content: "";
  position: absolute;
  inset: -12px -7px;
}

.testi-carousel .carousel-indicators button.active {
  width: 24px;
  border-radius: 99px;
  background: var(--blue-500);
}

/* Kontrol pause/resume autoplay (keyboard-friendly). */
.testi-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 8px auto 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dbe4f0;
  background: #fff;
  color: var(--blue-500);
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.testi-toggle:hover {
  color: var(--navy-900);
  border-color: var(--cyan-400);
  background: #f4f9ff;
}

.testi-toggle:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

.testi-toggle[hidden] {
  display: none;
}

@media (max-width: 991.98px) {
  .section.testi-section {
    padding: 64px 0;
  }

  .testi-card {
    padding: 32px;
  }
}

@media (max-width: 575.98px) {
  .section.testi-section {
    padding: 48px 0;
  }

  .testi-section .section-head {
    margin-bottom: 26px;
  }

  .testi-card {
    padding: 24px;
    border-radius: 16px;
  }

  .testi-quote {
    font-size: 1rem;
  }

  .testi-person {
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .testi-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .testi-carousel .carousel-indicators {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testi-carousel .carousel-item {
    transition: none;
  }
}

/* ---------- Proses ----------
   Connector digambar sebagai pseudo-element tiap step dan dihitung dari
   lebar step (50%) + gutter, jadi lebarnya mengikuti jarak antar-step. */
.process-flow {
  --flow-gap: clamp(18px, 2.2vw, 36px);
  --pnum: 66px;
  display: flex;
  align-items: flex-start;
  gap: var(--flow-gap);
}

.process-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step .p-num {
  width: var(--pnum);
  height: var(--pnum);
  flex: 0 0 var(--pnum);
  margin: 0 auto 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: var(--grad-navy);
  box-shadow: 0 6px 16px rgba(10, 29, 63, 0.18);
  position: relative;
  z-index: 1;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step:hover .p-num {
  background: var(--grad-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(10, 29, 63, 0.22);
}

.process-step h4 {
  font-size: 1.02rem;
  margin: 0 0 6px;
}

.process-step p {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 30ch;
  margin: 0 auto;
}

/* Garis: dari tepi kanan kotak nomor ke tepi kiri kotak nomor berikutnya. */
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--pnum) / 2 - 1px);
  left: calc(50% + var(--pnum) / 2 + 8px);
  right: calc(-50% - var(--flow-gap) + var(--pnum) / 2 + 8px);
  height: 2px;
  background: linear-gradient(90deg,
      rgba(34, 211, 238, 0.4),
      var(--sky) 16%,
      var(--sky));
  opacity: 0.7;
  pointer-events: none;
}

/* Panah kecil di ujung garis. */
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--pnum) / 2 - 4px);
  right: calc(-50% - var(--flow-gap) + var(--pnum) / 2 + 3px);
  width: 0;
  height: 0;
  border-left: 6px solid var(--sky);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--sky), var(--blue-500));
}

.tl-item {
  position: relative;
  width: 50%;
  padding: 0 44px 56px;
}

.tl-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.tl-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.tl-dot {
  position: absolute;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue-500);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
}

.tl-item:nth-child(odd) .tl-dot {
  right: -9px;
}

.tl-item:nth-child(even) .tl-dot {
  left: -9px;
}

.tl-year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: var(--grad-cyan);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.tl-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tl-card h4 {
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.tl-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--light);
  padding: 40px 0 110px;
}

.cta-box {
  position: relative;
  background: var(--grad-navy);
  border-radius: 28px;
  padding: 56px clamp(24px, 5vw, 70px);
  overflow: hidden;
  color: #fff;
}

.cta-box::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(34, 211, 238, 0.35),
      transparent 70%);
}

.cta-box::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
}

.cta-box .row {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.cta-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 992px) {
  .cta-actions {
    justify-content: flex-end;
  }
}

.btn-cta-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border-radius: 99px;
  background: #fff;
  color: var(--navy-800);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-cta-light .bi {
  font-size: 17px;
  line-height: 1;
}

.btn-cta-light:hover {
  color: var(--navy-800);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Tombol sekunder CTA (WhatsApp) — tetap terbaca di atas kotak navy. */
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.btn-cta-ghost:hover {
  background: #fff;
  color: var(--navy-800);
  transform: translateY(-4px);
}

.btn-cta-ghost .bi {
  font-size: 17px;
  line-height: 1;
}

/* ---------- Footer ---------- */
.footer {
  --footer-text: #cbd5e1;
  --footer-muted: #94a3b8;
  background: var(--navy-950);
  color: var(--footer-text);
  padding: 56px 0 44px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      var(--cyan-400),
      var(--blue-500),
      transparent);
}

.footer-grid {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
  row-gap: 2.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand .brand-img {
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-about {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 320px;
  margin: 16px 0 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background: var(--cyan-400);
  color: var(--navy-950);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--cyan-400);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  display: inline-block;
  color: var(--footer-text);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--cyan-400);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--footer-text);
  align-items: flex-start;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  color: var(--cyan-400);
  font-size: 1rem;
  line-height: 1.6;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--footer-text);
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--footer-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-legal a {
  color: var(--footer-muted);
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--cyan-400);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.28);
}

/* Tombol "Pengaturan Privasi" — tampil sebagai tautan footer biasa. */
.footer-legal-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--footer-muted);
  font: inherit;
  cursor: pointer;
  transition: color 0.25s ease;
}

.footer-legal-btn:hover {
  color: var(--cyan-400);
}

/* ---------- Bilah persetujuan analitik (hanya bila GA4/GTM aktif) ---------- */
.consent-bar {
  position: fixed;
  z-index: 2100;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #0a1d3f;
  color: #dbe6f7;
  box-shadow: 0 18px 42px rgba(4, 10, 24, 0.38);
}

.consent-bar[hidden] {
  display: none;
}

.consent-text {
  flex: 1 1 320px;
}

.consent-text strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.95rem;
}

.consent-text p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.consent-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-actions a {
  color: #7dd3fc;
  font-size: 0.8rem;
  text-decoration: underline;
}

.consent-actions .btn-outline-secondary {
  color: #dbe6f7;
  border-color: rgba(219, 230, 247, 0.45);
}

.consent-actions .btn-outline-secondary:hover {
  background: rgba(219, 230, 247, 0.12);
  color: #fff;
}

/* ---------- Halaman legal (Kebijakan Privasi & Syarat Ketentuan) ---------- */
.legal-section {
  padding: 90px 0 100px;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-intro {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 22px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 14px 18px;
  margin-bottom: 30px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--navy-800);
}

.legal-meta i {
  color: var(--blue-500);
  margin-right: 6px;
}

.legal-meta time {
  font-weight: 600;
}

.legal-toc {
  padding: 22px 26px;
  margin-bottom: 38px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan-400);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.legal-toc-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.legal-toc li {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 7px;
  break-inside: avoid;
}

.legal-toc a {
  color: var(--navy-800);
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--blue-500);
}

.legal-block {
  margin-bottom: 34px;
  scroll-margin-top: 110px;
}

.legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.legal-num {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-500);
  background: var(--light-2);
  border-radius: 8px;
  padding: 2px 9px;
}

.legal-block p {
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-block ul,
.legal-block ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-block li {
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-block a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-block a:hover {
  color: var(--navy-700);
}

.legal-flag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a5300;
  background: #fff4e0;
  border: 1px solid #f5d9a8;
  border-radius: 6px;
  padding: 0 7px;
  line-height: 1.6;
}

.legal-other {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.legal-other i {
  color: var(--blue-500);
  margin-right: 6px;
}

.legal-other a {
  color: var(--blue-500);
  font-weight: 600;
}

.legal-other a:hover {
  color: var(--navy-700);
}

/* ---------- Tombol mengambang ---------- */
/* Satu wrapper fixed; tombol tersusun vertikal: Back to Top di atas, WhatsApp di bawah.
   z-index di bawah navbar (1050) agar tidak menutupi dropdown / menu mobile / modal. */
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(4, 10, 24, 0.22);
  transition: transform 0.22s ease, background-color 0.22s ease,
    box-shadow 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
}

.float-btn:hover {
  box-shadow: 0 10px 22px rgba(4, 10, 24, 0.28);
}

.float-btn:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

/* WhatsApp */
.float-wa {
  width: 54px;
  height: 54px;
  background: #25d366;
  font-size: 1.6rem;
}

.float-wa:hover {
  background: #1fbe5b;
  color: #fff;
  transform: translateY(-2px);
}

/* Back to top */
.float-top {
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  font-size: 1.05rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.float-top:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

/* ---------- Kartu kontak ---------- */
.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: all 0.35s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 211, 238, 0.45);
}

.info-card .ic-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: var(--grad-navy);
  transition: all 0.35s ease;
}

.info-card:hover .ic-icon {
  background: var(--grad-cyan);
  transform: rotate(-8deg) scale(1.08);
}

.info-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.info-card a {
  color: var(--text);
  display: block;
  font-size: 0.92rem;
}

.info-card a:hover {
  color: var(--blue-500);
}

/* ---------- Form ---------- */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  color: var(--heading);
  background-color: var(--light);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.form-label {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.92rem;
}

.form-floating-label {
  position: relative;
}

.submit-btn {
  background: var(--grad-cyan);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 99px;
  padding: 14px 38px;
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.5);
}

.submit-btn:disabled {
  opacity: 0.7;
}

/* Catatan privasi di bawah tombol kirim formulir kontak. */
.form-privacy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #6b7a94;
}

.form-privacy a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy a:hover {
  color: var(--navy-700);
}

.form-feedback {
  display: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.93rem;
  margin-top: 18px;
}

.form-feedback.success {
  display: block;
  background: #e7f8ef;
  color: #166534;
  border: 1px solid #a7e3c0;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.map-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: saturate(0.85);
}

/* ---------- Utility ---------- */
.btn-outline-navy {
  border: 1.5px solid var(--navy-600);
  color: var(--navy-700);
  font-weight: 600;
  border-radius: 99px;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn-outline-navy:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-3px);
}

.divider-glow {
  width: 88px;
  height: 4px;
  border-radius: 99px;
  background: var(--grad-cyan);
  margin: 24px auto 0;
}

.divider-glow.left {
  margin: 24px 0;
}

.text-gradient {
  background: linear-gradient(120deg, #38bdf8, #22d3ee 55%, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .fc-1 {
    right: 0;
  }

  .fc-2 {
    left: -6px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 150px 0 80px;
    min-height: auto;
  }

  #mainNav:not(.scrolled) .navbar-collapse {
    background: var(--navy-900);
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 12px;
    border: 1px solid rgba(125, 211, 252, 0.25);
  }

  #mainNav.scrolled .navbar-collapse {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }

  /* Menu mobile: lebar penuh, tidak meluber, submenu berbentuk accordion. */
  #mainNav .navbar-collapse {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #mainNav .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  #mainNav .nav-item {
    width: 100%;
  }

  #mainNav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 12px;
    font-size: 0.95rem;
    margin: 0;
  }

  #mainNav .nav-link::after {
    display: none;
  }

  #mainNav .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  #mainNav .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    transform: none;
  }

  #mainNav .nav-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px;
    white-space: normal;
    font-size: 0.92rem;
  }

  #mainNav .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }

  .hero-visual {
    margin-top: 60px;
  }

  .fc-1 {
    right: 0;
  }

  .fc-2 {
    left: 0;
  }

  .section {
    padding: 84px 0;
  }

  .exp-badge {
    right: 8px;
  }

  .timeline::before {
    left: 10px;
    transform: none;
  }

  .tl-item {
    width: 100%;
    padding: 0 0 40px 44px;
    text-align: left !important;
  }

  .tl-item:nth-child(even),
  .tl-item:nth-child(odd) {
    left: 0;
  }

  .tl-item:nth-child(odd) .tl-dot,
  .tl-item:nth-child(even) .tl-dot {
    left: 4px;
    right: auto;
  }

}

/* Footer satu kolom: beri ruang aman agar tombol mengambang tidak menutupi copyright. */
@media (max-width: 767.98px) {
  .footer {
    padding-bottom: 112px;
  }
}

@media (max-width: 575.98px) {
  .hero-stats {
    gap: 22px;
  }

  .fc-3 {
    right: 4%;
  }

  /* Footer mobile: padding lebih rapat, logo & jarak kolom proporsional. */
  .footer {
    padding-top: 36px;
  }

  .footer-grid {
    /* Gutter 32px > 2x padding container (24px) membuat row melebar 4px
       keluar viewport di ponsel. Samakan dengan gutter Bootstrap. */
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.75rem;
    row-gap: 1.75rem;
  }

  .footer-brand .brand-img {
    width: 140px;
  }

  .footer-about {
    max-width: none;
    margin-top: 14px;
  }

  .footer-heading {
    margin-bottom: 12px;
  }

  .footer-bottom {
    margin-top: 28px;
    padding: 16px 0 20px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* Halaman legal: jarak lebih rapat di layar kecil. */
  .legal-section {
    padding: 56px 0 72px;
  }

  .legal-toc {
    padding: 18px 20px;
    margin-bottom: 28px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-block {
    margin-bottom: 28px;
  }

  .legal-block h2 {
    gap: 9px;
  }

  /* Tombol mengambang: jarak lebih rapat di layar kecil. */
  .float-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .float-wa {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .float-top {
    width: 42px;
    height: 42px;
  }

  .hero-frame {
    transform: none;
  }

  /* Bootstrap: gutter g-4/g-5 memberi margin negatif baris (24px) lebih besar
     dari padding .container (12px), sehingga halaman melebar 12-18px di layar
     sempit. Samakan gutter horizontal dengan padding container; gutter vertikal
     (--bs-gutter-y) tetap sesuai desain. */
  .row.g-4,
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* Bingkai dekoratif di belakang gambar menjorok 30px ke kanan. Di layar
     sempit itu melewati tepi layar dan membuat halaman bisa digeser ke
     samping, jadi kecilkan offset-nya (efek dekoratif tetap ada). */
  .split-img::before {
    right: -8px;
  }
}

/* ============================================================
   Katalog Produk (portofolio.php) & Detail Produk (produk.php)
   ============================================================ */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-search {
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
}

.catalog-search>i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-600);
  font-size: 1rem;
  pointer-events: none;
}

.catalog-search .form-control {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 13px 18px 13px 46px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.catalog-search .form-control:focus {
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pfilter-btn {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 99px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pfilter-btn:hover {
  border-color: rgba(34, 211, 238, 0.6);
  color: var(--navy-700);
  transform: translateY(-2px);
}

.pfilter-btn .pcount {
  background: var(--light-2);
  color: var(--blue-500);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 2px 9px;
}

.pfilter-btn.active {
  background: var(--grad-cyan);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
}

.pfilter-btn.active .pcount {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.catalog-count {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 22px;
  opacity: 0.85;
}

.product-item.catalog-hidden {
  display: none;
}

/* Kartu produk */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 211, 238, 0.45);
}

.product-thumb {
  position: relative;
  height: 185px;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.07);
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 29, 63, 0.05) 30%, rgba(10, 29, 63, 0.55));
  pointer-events: none;
}

.product-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.product-ico {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: -22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--cyan-300);
  background: var(--grad-navy);
  border: 3px solid #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.product-card:hover .product-ico {
  background: var(--grad-cyan);
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 10px 22px rgba(34, 211, 238, 0.4);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 24px;
}

.product-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 14px;
}

.product-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 6px;
}

.product-feats li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-feats li i {
  color: var(--sky);
  flex: none;
}

.btn-detail {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-cyan);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 99px;
  padding: 10px 20px;
  border: none;
  transition: all 0.3s ease;
}

.btn-detail:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(34, 211, 238, 0.4);
}

/* State kosong */
.catalog-empty {
  text-align: center;
  padding: 50px 16px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 18px;
}

.ce-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--blue-500);
  background: var(--light-2);
  border-radius: 50%;
}

.catalog-empty h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.catalog-empty p {
  color: var(--text);
  margin-bottom: 20px;
}

/* ============================================================
   Detail Produk
   ============================================================ */
.pd-hero {
  background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  background: var(--light-2);
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 18px;
}

.pd-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.pd-desc {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 22px;
}

.pd-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.pd-meta li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.pd-meta-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--blue-500);
  background: var(--light-2);
  border-radius: 12px;
}

.pd-visual {
  position: relative;
}

.pd-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.pd-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.pd-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  z-index: 2;
}

.pd-chip i {
  color: var(--sky);
}

.pd-chip-1 {
  top: -16px;
  left: 18px;
}

.pd-chip-2 {
  bottom: -16px;
  right: 18px;
}

/* Blok informasi */
.pd-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.pd-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.pd-block-head h2 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.pd-block-head p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
}

.pd-block-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--cyan-300);
  background: var(--grad-navy);
  border-radius: 15px;
}

.pd-block-icon-cyan {
  background: var(--grad-cyan);
  color: #fff;
}

.pd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.pd-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.pd-list li i {
  flex: none;
  margin-top: 4px;
  color: var(--sky);
  font-size: 1.05rem;
}

.pd-list li.pd-placeholder i {
  color: var(--gold);
}

.pd-placeholder {
  background: #fff8e8;
  border: 1px dashed #eccf8f;
  border-radius: 12px;
  padding: 12px 14px;
}

.pd-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--light), #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px 30px;
  max-width: 760px;
  margin: 0 auto;
}

.pd-target i {
  font-size: 2.2rem;
  color: var(--sky);
  background: var(--light-2);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.pd-target p {
  font-size: 1.05rem;
  margin: 0;
}

.pd-gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.pd-gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pd-gallery-item:hover {
  box-shadow: var(--shadow-md);
}

.pd-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .pd-chip-1 {
    left: 8px;
  }

  .pd-chip-2 {
    right: 8px;
  }
}

@media (max-width: 575.98px) {
  .pd-frame img {
    height: 240px;
  }

  .pd-chip {
    font-size: 0.74rem;
    padding: 8px 12px;
  }
}

/* ============================================================
   Navbar: penyesuaian layar menengah (992px–1199px).
   Menu sudah diringkas menjadi 5 kelompok, jadi ukuran teks
   hanya diturunkan tipis agar tetap proporsional dengan CTA.
   ============================================================ */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #mainNav .nav-link {
    padding: 8px 8px;
    margin: 0 1px;
    font-size: 0.9rem;
  }

  #mainNav .btn-cta {
    padding: 9px 16px;
    font-size: 0.85rem;
  }
}
/* ============================================================
   Halaman 404 — konsisten dengan tema (dipakai oleh 404.php)
   ============================================================ */
.error-page {
  padding-top: 160px;
  padding-bottom: 100px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.error-title {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 12px 0 14px;
}

.error-text {
  color: var(--text);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.error-links-title {
  color: var(--heading);
  font-weight: 600;
  margin-bottom: 10px;
}

.error-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.error-links a {
  color: var(--blue-500);
  text-decoration: none;
  font-size: 0.94rem;
}

.error-links a:hover {
  color: var(--navy-700);
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .error-page {
    padding-top: 120px;
    padding-bottom: 70px;
  }
}

/* ---------- Alur kerja responsif ---------- */
/* Tablet: 3 kolom x 2 baris; connector hanya di dalam satu baris. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .process-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(var(--flow-gap) * 1.8) var(--flow-gap);
  }

  .process-step {
    flex: none;
  }

  .process-step:nth-child(3n)::before,
  .process-step:nth-child(3n)::after {
    display: none;
  }
}

/* Mobile: timeline vertikal, nomor di kiri. */
@media (max-width: 767.98px) {
  .process-flow {
    --flow-gap: 26px;
    --pnum: 46px;
    flex-direction: column;
    gap: var(--flow-gap);
  }

  .process-step {
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: var(--pnum) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    text-align: left;
  }

  .process-step .p-num {
    margin: 0;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  .process-step p {
    max-width: none;
    margin: 0;
  }

  .process-step:not(:last-child)::after {
    top: calc(var(--pnum) + 8px);
    bottom: calc(-1 * var(--flow-gap) + 8px);
    left: calc(var(--pnum) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
        rgba(34, 211, 238, 0.4),
        var(--sky) 16%,
        var(--sky));
  }

  .process-step:not(:last-child)::before {
    top: auto;
    bottom: calc(-1 * var(--flow-gap) + 8px);
    left: calc(var(--pnum) / 2 - 4px);
    right: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--sky);
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step .p-num {
    transition: none;
  }

  .process-step:hover .p-num {
    transform: none;
  }
}

/* ---------- Lebar konten di layar sangat lebar ---------- */
/* Bootstrap membatasi .container di 1320px; pada 1920px itu menyisakan
   margin putih yang lebar. Perlebar sedikit agar grid tetap proporsional. */
@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}
