/* ==========================================================
   DESIGN TOKENS
   Warna, radius, shadow & tipografi sesuai brief redesign.
   ========================================================== */
:root {
  /* Warna utama (sesuai spesifikasi) */
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #60A5FA;
  --secondary: #0F172A;
  --success: #22C55E;
  --accent: #22C55E;      /* alias, dipakai di kode lama */
  --accent-dark: #16A34A;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg: #F8FAFC;
  --bg-alt: #EEF2F9;
  --card-bg: #FFFFFF;
  --white: #FFFFFF;
  --text: #111827;
  --text-muted: #64748B;
  --border: #E5E7EB;

  /* Radius */
  --radius-lg: 20px;
  --radius-md: 16px;   /* kartu */
  --radius-sm: 12px;   /* tombol & input */
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 20px 45px -15px rgba(37, 99, 235, 0.35);

  /* Font */
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Roboto Mono", monospace;

  /* Layout mobile */
  --header-h: 56px;
  --bottom-nav-h: 64px;
  --gap-card: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}

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

a { text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Smooth scroll offset for in-page anchors under fixed header */
section[id], header[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ==========================================================
   TYPOGRAPHY SCALE (mobile-first)
   Judul 24px / Sub Judul 18px / Body 14-16px / Button 14px SemiBold
   ========================================================== */
.section-py { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================
   ANIMATIONS
   Fade In / Slide Up / Hover Card / Button Ripple / Skeleton
   ========================================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.fade-in { animation: fadeIn 0.5s ease both; }
.slide-up { animation: slideUp 0.5s ease both; }

.img-skeleton {
  position: relative;
  background: var(--border);
  overflow: hidden;
}
.img-skeleton::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.img-skeleton.img-loaded::before { display: none; }

/* Button ripple */
.btn { position: relative; overflow: hidden; }
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.55);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

/* ==========================================================
   LOADER
   ========================================================== */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#pageLoader.loader-hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* ==========================================================
   HEADER (mobile: 56px, sticky, logo kiri, hamburger kanan)
   ========================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--secondary);
  box-shadow: 0 2px 10px rgba(15,23,42,0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.navbar-scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.navbar-inner {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Desktop inline nav — hidden on mobile */
.navbar-nav-desktop {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  display: inline-block;
}
.nav-link:hover { color: var(--accent) !important; background: rgba(255,255,255,0.06); }

.btn-nav-cta {
  background: var(--accent);
  color: var(--secondary) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,197,94,0.35); color: var(--secondary) !important; }

/* Hamburger button (mobile only) */
.navbar-toggler {
  width: 44px; height: 44px;
  min-width: 44px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.navbar-toggler:hover { background: rgba(255,255,255,0.16); }
.hamburger-bar {
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   MOBILE DRAWER (Sidebar → Drawer di mobile, slide animasi)
   ========================================================== */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.55);
  z-index: 1045;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(84vw, 340px);
  background: var(--white);
  z-index: 1050;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 40px rgba(15,23,42,0.2);
  padding-top: env(safe-area-inset-top);
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer-header .navbar-brand { color: var(--secondary); }
.drawer-close-btn {
  width: 40px; height: 40px;
  border: none;
  background: var(--bg);
  border-radius: var(--radius-sm);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.drawer-close-btn:hover { background: var(--border); }

.nav-drawer-links {
  list-style: none;
  margin: 0; padding: 12px;
  overflow-y: auto;
  flex: 1;
}
.nav-drawer-links li { margin-bottom: 4px; }
.nav-drawer-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 12px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-drawer-links a i { width: 20px; color: var(--primary); font-size: 1rem; }
.nav-drawer-links a:hover, .nav-drawer-links a:focus-visible { background: var(--bg-alt); color: var(--primary); }

.nav-drawer-footer { padding: 16px; border-top: 1px solid var(--border); }

body.drawer-locked { overflow: hidden; }

/* ==========================================================
   BUTTONS (min 48px, radius 12px, full width mobile, icon+text)
   ========================================================== */
.btn-primary-cta,
.btn-outline-cta {
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}
.btn-primary-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-strong);
}
.btn-primary-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(37,99,235,0.5); color: var(--white); }
.btn-primary-cta:active { transform: translateY(0) scale(0.98); }

.btn-outline-cta {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
}
.btn-outline-cta:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); }
.btn-outline-cta:active { transform: scale(0.98); }

.btn-block { width: 100%; }

.btn[disabled], .btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.btn.is-loading::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 6px;
}

.scroll-cue {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  animation: bounceDown 2.2s infinite;
  z-index: 2;
  display: none;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ==========================================================
   HERO (mobile-first: 100dvh minus header, stacked, CTA full width)
   ========================================================== */
.hero-section {
  position: relative;
  background: var(--secondary);
  overflow: hidden;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1508387027939-27cccde53673?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(37,99,235,0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(34,197,94,0.25), transparent 45%),
    linear-gradient(180deg, rgba(15,23,42,0.92), rgba(15,23,42,0.88));
}
.hero-section .container { z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero-title {
  font-size: 30px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
  max-width: 540px;
}
.hero-stats { color: var(--white); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.15rem; }
.hero-stats span { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Signature element: chat mockup */
.chat-mock-wrapper { position: relative; max-width: 420px; margin: 40px auto 20px; }
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.chat-mock { padding: 0; overflow: hidden; }
.chat-mock-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(34,197,94,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.chat-mock-header i { font-size: 1.3rem; color: var(--accent); }
.chat-mock-header strong { display: block; font-size: 0.92rem; }
.chat-mock-header small { color: rgba(255,255,255,0.55); font-size: 0.72rem; }
.chat-mock-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble {
  font-size: 0.86rem; line-height: 1.5;
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 85%;
  animation: slideUp 0.5s ease both;
}
.bubble-in { background: rgba(255,255,255,0.12); color: var(--white); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble-out { background: var(--primary); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.typing-indicator {
  align-self: flex-start;
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.12);
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: typingBounce 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.floating-badge {
  position: absolute;
  background: var(--white);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 6px;
  animation: floatY 4s ease-in-out infinite;
}
.floating-badge i { color: var(--accent); }
.badge-1 { top: -14px; right: 4px; animation-delay: 0s; }
.badge-2 { bottom: 20px; left: -6px; animation-delay: 1.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ==========================================================
   ABOUT
   ========================================================== */
.about-img-grid { position: relative; padding: 20px 20px 24px 0; margin-bottom: 8px; }
.img-main { border-radius: var(--radius-md); box-shadow: var(--shadow-soft); width: 100%; height: 260px; object-fit: cover; }
.img-accent {
  position: absolute; bottom: 0; right: 0;
  width: 55%; height: 140px; object-fit: cover;
  border-radius: var(--radius-md);
  border: 5px solid var(--bg);
  box-shadow: var(--shadow-soft);
}
.about-exp-badge {
  position: absolute; top: 0; left: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-strong);
  display: flex; flex-direction: column; line-height: 1.1;
}
.about-exp-badge strong { font-family: var(--font-display); font-size: 1.4rem; }
.about-exp-badge span { font-size: 0.7rem; opacity: 0.9; }

.vm-box {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vm-box:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(15,23,42,0.18); }
.vm-box i { color: var(--primary); font-size: 1.2rem; margin-bottom: 8px; }
.vm-box h6 { margin-bottom: 6px; font-size: 15px; }
.vm-box p { color: var(--text-muted); font-size: 14px; margin: 0; }

.about-points { list-style: none; padding: 0; margin: 0; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--text); font-size: 14px; }
.about-points i { color: var(--accent); margin-top: 3px; }

/* ==========================================================
   CARDS — aturan umum: radius 16px, padding 16px, shadow halus,
   jarak antar-card 16px (row-gap/col-gap g-4 → override ke 16px)
   ========================================================== */
.row.g-4 { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }
.row.g-5 { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.why-item {
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
  height: 100%;
}
.why-item:hover { transform: translateY(-4px); }
.why-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }
.why-item h6 { margin: 0; font-size: 13.5px; }

/* ==========================================================
   SERVICES
   ========================================================== */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(37,99,235,0.28);
  border-color: rgba(37,99,235,0.15);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(34,197,94,0.12));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.service-card h5 { margin-bottom: 8px; font-size: 16px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.service-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 12px 0 14px;
}
.service-price strong { color: var(--secondary); }
.service-link {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; color: var(--accent-dark); }

.service-note {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.service-note i { color: var(--primary); margin-right: 6px; }
.service-note strong { color: var(--secondary); }

/* ==========================================================
   TIMELINE / ALUR — vertikal di mobile (thumb-friendly),
   horizontal berjejer di desktop
   ========================================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.timeline::before { content: none; }
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  text-align: left;
  transition: transform 0.25s ease;
}
.timeline-item:hover { transform: translateX(4px); }
.timeline-num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.timeline-item:hover .timeline-num { background: var(--primary); color: var(--white); }
.timeline-content h6 { font-size: 15px; margin-bottom: 4px; }
.timeline-content p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testi-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.testi-rating { color: var(--warning); letter-spacing: 3px; margin-bottom: 12px; font-size: 14px; }
.testi-card p { color: var(--text); font-size: 14px; line-height: 1.7; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: 14px; }
.testi-person span { color: var(--text-muted); font-size: 12.5px; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ==========================================================
   FAQ
   ========================================================== */
.accordion-item { border: none; margin-bottom: 12px; border-radius: var(--radius-sm) !important; overflow: hidden; box-shadow: var(--shadow-soft); }
.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--secondary);
  background: var(--card-bg);
  padding: 16px 18px;
  min-height: 48px;
}
.accordion-button:not(.collapsed) { background: var(--primary); color: var(--white); }
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; }
.accordion-body { font-size: 14px; color: var(--text-muted); line-height: 1.7; background: var(--card-bg); }

/* ==========================================================
   BLOG
   ========================================================== */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { height: 180px; width: 100%; object-fit: cover; }
.blog-card-body { padding: 18px 16px; }
.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: rgba(34,197,94,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.blog-card h5 { margin: 12px 0 8px; font-size: 15.5px; line-height: 1.4; }
.blog-card h5 a { color: var(--secondary); }
.blog-card h5 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.blog-readmore { color: var(--primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 44px; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-info-card {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  color: var(--white);
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item i { color: var(--accent); font-size: 1.15rem; width: 26px; }
.contact-info-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.7); font-size: 13.5px; margin: 0; }
.contact-info-item a:hover { color: var(--accent); }
.contact-social { display: flex; gap: 10px; margin-top: 10px; }
.contact-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.contact-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--secondary); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); height: 100%; min-height: 260px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--secondary); color: rgba(255,255,255,0.65); padding: 48px 0 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.site-footer h6 { color: var(--white); font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.65); font-size: 13.5px; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--accent); width: 16px; }
.site-footer hr { border-color: rgba(255,255,255,0.1); margin: 32px 0 16px; }
.footer-bottom { text-align: center; font-size: 12.5px; }

/* ==========================================================
   FLOATING WHATSAPP + BACK TO TOP
   (min. 48x48px tap target, dinaikkan agar tak tertutup bottom-nav)
   ========================================================== */
.floating-wa {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 14px);
  right: 16px; z-index: 1020;
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 26px rgba(34,197,94,0.45);
  transition: transform 0.2s ease;
}
.floating-wa:hover { transform: scale(1.06); color: var(--white); }
.floating-wa-ping {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
  z-index: -1;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.9); opacity: 0; } }

#backToTop {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 14px);
  right: 76px; z-index: 1020;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--primary); color: var(--white); }

/* ==========================================================
   BOTTOM NAVIGATION (mobile only, fixed, icon + label)
   ========================================================== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  height: var(--bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15,23,42,0.06);
  display: flex;
  align-items: stretch;
}
.bottom-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  min-height: 48px;
  transition: color 0.2s;
}
.bottom-nav-item i { font-size: 1.15rem; }
.bottom-nav-item.is-active { color: var(--primary); }
.bottom-nav-item:hover { color: var(--primary); }
.bottom-nav-cta {
  color: var(--white);
}
.bottom-nav-cta i, .bottom-nav-cta span { position: relative; z-index: 1; }
.bottom-nav-cta::before {
  content: "";
  position: absolute;
  width: 46px; height: 46px;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(34,197,94,0.45);
  z-index: 0;
}
.bottom-nav-cta { position: relative; }
.bottom-nav-cta:hover { color: var(--white); }

/* ==========================================================
   RESPONSIVE — mobile-first breakpoints
   320 / 375 / 425 (base) → 768 tablet → 1024/1280/1440 desktop
   ========================================================== */

/* ~360-424px small phones: tighten a touch */
@media (max-width: 374.98px) {
  .section-title { font-size: 21px; }
  .hero-title { font-size: 26px; }
  .service-card, .why-item, .vm-box { padding: 16px 12px; }
}

/* Tablet 768px+ : sidebar-desktop nav muncul, grid 2 kolom, drawer nonaktif */
@media (min-width: 768px) {
  .section-py { padding: 72px 0; }
  .section-title { font-size: 30px; }
  .section-desc { font-size: 16px; }
  body { font-size: 16px; }

  .hero-title { font-size: 42px; }
  .hero-subtitle { font-size: 17px; }

  .img-main { height: 340px; }
  .img-accent { height: 170px; }

  .contact-info-card { padding: 30px; }
  .map-frame { min-height: 320px; }

  .row.g-4, .row.g-5 { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
}

/* Desktop 1024px+ : sidebar tetap kiri (nav horizontal), sembunyikan hamburger/drawer/bottom-nav */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }

  body { padding-bottom: 0; }

  .navbar { height: var(--header-h); background: transparent; box-shadow: none; }
  .navbar-scrolled { background: rgba(15,23,42,0.9); box-shadow: 0 4px 24px rgba(0,0,0,0.15); }

  .navbar-nav-desktop { display: flex; }
  .navbar-toggler { display: none; }
  .nav-drawer, .nav-backdrop { display: none; }
  .bottom-nav { display: none; }
  .floating-wa { bottom: 26px; }
  #backToTop { bottom: 26px; }

  .scroll-cue { display: block; }

  .btn-primary-cta, .btn-outline-cta { width: auto; }

  .section-title { font-size: 34px; }

  .hero-section { min-height: 100vh; }
  .hero-title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }

  .timeline { flex-direction: row; }
  .timeline::before {
    content: "";
    position: absolute;
    top: 22px; left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
  .timeline-item { flex-direction: column; align-items: center; text-align: center; background: transparent; box-shadow: none; padding: 0; z-index: 1; }
  .timeline-item:hover { transform: none; }
  .timeline-num { margin: 0 auto 14px; }
}

/* Large desktop 1280px+ */
@media (min-width: 1280px) {
  .section-py { padding: 96px 0; }
}

/* Extra-large 1440px+ */
@media (min-width: 1440px) {
  .hero-title { font-size: 3.4rem; }
}
