/* ==========================================================================
   Rafi Toner - Official Stylesheet (Vanilla CSS3)
   Design System: High Density Agency Theme (Clean, High-Contrast, Structured)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;

  --primary: #0F172A;        /* Slate 900 */
  --primary-light: #1E293B;  /* Slate 800 */
  --primary-subtle: #334155; /* Slate 700 */

  --accent: #2563EB;         /* Blue 600 */
  --accent-hover: #1D4ED8;   /* Blue 700 */
  --accent-subtle: rgba(37, 99, 235, 0.08);  /* Blue 50 equivalent */
  --accent-border: rgba(37, 99, 235, 0.25);  /* Blue 200 equivalent */

  --whatsapp: #25D366;       /* Official WhatsApp Green */
  --whatsapp-hover: #1FAA52;
  --whatsapp-subtle: #DCFCE7;

  --bg: #FFFFFF;             /* Pure White */
  --bg-soft: #F8FAFC;        /* Slate 50 */
  --bg-muted: #F1F5F9;       /* Slate 100 */

  --text: #1E293B;           /* Slate 800 */
  --text-muted: #64748B;     /* Slate 500 */
  --text-light: #94A3B8;     /* Slate 400 */
  --text-white: #FFFFFF;

  --border: #E5E7EB;         /* Gray 200 */
  --border-hover: #2563EB;
  --border-focus: #2563EB;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 16px 30px -4px rgba(37, 99, 235, 0.16);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Modern Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background-color: var(--bg-soft);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Typography & Helper Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  max-width: 72ch;
  line-height: 1.65;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -6px rgba(15, 23, 42, 0.35);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--text-white);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
}

.btn-outline:hover {
  background-color: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation (Sticky & Mobile Responsive)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Hamburger Toggle */
.hamburger-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}

.hamburger-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

.hamburger-toggle.is-open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.is-open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
@media (max-width: 1023px) {
  .hamburger-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 700;
  }

  .header-actions .btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. Hero Section Refactor
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-badge span.dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp);
}

.hero-title {
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Item Tags List in Hero */
.hero-items-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.item-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.item-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.12));
}

/* --------------------------------------------------------------------------
   7. TRUST BANNER SECTION (Directly after Hero)
   -------------------------------------------------------------------------- */
.trust-banner-section {
  padding: 48px 0;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .trust-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.trust-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: var(--bg);
}

.trust-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.trust-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.trust-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. Statistics Section (Counter Cards)
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 56px 0;
  background-color: var(--primary);
  color: var(--text-white);
  position: relative;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 90px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 340px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .stats-grid {
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .stat-card {
    padding: 28px 20px;
  }
}

@media (min-width: 1024px) {
  .stat-card {
    padding: 32px 24px;
  }
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 5.5vw, 3.25rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
  max-width: 100%;
}

.stat-label {
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  color: #94A3B8;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   9. Kategori Barang Section (Modern Cards)
   -------------------------------------------------------------------------- */
.category-section {
  padding: 100px 0;
  background-color: var(--bg-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color var(--transition-fast);
}

.category-card:hover .category-icon-box {
  background-color: var(--accent-subtle);
}

.category-icon-box img,
.category-icon-box svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.category-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.category-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.category-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

.category-action svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.category-card:hover .category-action svg {
  transform: translateX(5px);
}

/* Estimator Widget */
.estimator-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 56px;
  box-shadow: var(--shadow-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .estimator-grid {
    grid-template-columns: repeat(3, 1fr) auto;
  }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  background-color: var(--bg);
}

/* --------------------------------------------------------------------------
   10. STRATEGIC MID-PAGE CTA BANNER
   -------------------------------------------------------------------------- */
.mid-cta-banner {
  padding: 40px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
}

.mid-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .mid-cta-inner {
    flex-direction: row;
    text-align: left;
  }
}

.mid-cta-text h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.mid-cta-text p {
  color: #94A3B8;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. Mengapa Memilih Kami (Why Choose Us - Refactored Cards)
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: 100px 0;
  background-color: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.why-card:hover {
  background-color: var(--bg);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. CARA MENJUAL (WORKFLOW TIMELINE - Horizontal Desktop, Vertical Mobile)
   -------------------------------------------------------------------------- */
.workflow-section {
  padding: 100px 0;
  background-color: var(--bg-soft);
}

.workflow-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

@media (min-width: 1024px) {
  .workflow-timeline {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
  }
}

.timeline-step {
  flex: 1;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.timeline-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-connector {
  display: none;
}

@media (min-width: 1024px) {
  .timeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    position: relative;
  }

  .timeline-connector::after {
    content: '→';
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
  }
}

/* --------------------------------------------------------------------------
   13. MEREK YANG KAMI TERIMA
   -------------------------------------------------------------------------- */
.brand-grid-section {
  padding: 90px 0;
  background-color: var(--bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.brand-card {
  padding: 24px 16px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-fast);
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. GALERI DOKUMENTASI & LIGHTBOX (PROFESSIONAL CLOUDINARY SYSTEM)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-soft);
}

/* Featured 6 Photo Banner */
.featured-gallery-container {
  margin-bottom: 56px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.featured-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-badge {
  padding: 4px 12px;
  background-color: #FEF3C7;
  color: #D97706;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Category Filter Tabs Bar */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.filter-btn .count-badge {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);

}

.filter-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Main Gallery Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  min-height: 300px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--bg-muted);
  animation: galleryFadeIn 0.4s ease-out forwards;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-fast);
}

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

.gallery-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px 20px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0) 100%);
  color: var(--text-white);
  transition: opacity var(--transition-fast);
  z-index: 2;
}

.gallery-caption {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 4px;
}

.gallery-sub {
  font-size: 0.85rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Skeleton Loading State */
.skeleton-box {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.is-active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  margin-top: 16px;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. Area Layanan / Coverage
   -------------------------------------------------------------------------- */
.coverage-section {
  padding: 100px 0;
  background-color: var(--bg);
}

.coverage-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  color: var(--text-white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.coverage-tag {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.coverage-tag.active {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #FFFFFF;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   16. Accordion FAQ
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-soft);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 26px;
}

.faq-item.is-open .faq-content {
  max-height: 400px;
  padding: 0 26px 26px 26px;
}

.faq-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   17. Contact & Map Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   18. SEO Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--primary);
  color: var(--text-white);
  padding-top: 80px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col-title {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--text-white);
}

.seo-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-keyword-tag {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #94A3B8;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #64748B;
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   19. Sticky Floating WhatsApp Widget
   -------------------------------------------------------------------------- */
.floating-wa-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.floating-wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  background-color: var(--whatsapp);
  color: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-hover);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.55);
}

.floating-wa-btn .pulse-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background-color: #FFFFFF;
  border: 2px solid var(--whatsapp);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.wa-modal-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideUp 0.25s ease-out forwards;
}

.wa-modal-popup.is-active {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.wa-modal-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.wa-contact-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.wa-contact-option:hover {
  border-color: var(--whatsapp);
  background-color: var(--whatsapp-subtle);
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 998;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   20. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-up.is-visible,
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
