/* ==========================================================================
   VEROMON HOME PAGE STYLES (Figma Specification Implementation)
   File: public/css/pages/home.css
   ========================================================================== */

:root {
  --vm-green-primary: #029B3F;
  --vm-green-600: #15944B;
  --vm-green-700: #138744;
  --vm-green-800: #0F6935;
  --vm-green-dark: #0C5129;
  --vm-green-100: #B1E0C3;
  --vm-green-light: #EDF8F8;

  --vm-text-heading: #333333;
  --vm-text-body: #777777;
  --vm-text-dark: #03221B;
  --vm-text-muted: #606060;
  --vm-text-gray: #727272;
  --vm-text-date: #637381;

  --vm-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --vm-container-max: 1280px;
  --vm-section-pad: 80px;
}

/* Base resets for Veromon home page */
.veromon-home {
  font-family: var(--vm-font);
  color: var(--vm-text-heading);
  background-color: #FFFFFF;
  line-height: 1.5;
  width: 100%;
}

.veromon-container {
  width: 100%;
  max-width: var(--vm-container-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section Header Shared Component */
.vm-section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.vm-section-title {
  font-family: var(--vm-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: var(--vm-text-heading);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.vm-section-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--vm-text-body);
  margin: 0 auto;
}

/* ==========================================================================
   SECTION 1 — HERO BANNER
   ========================================================================== */
.vm-hero-section {
  position: relative;
  width: 100%;
  min-height: 684px;
  background-color: #0b1a13;
  background-image: url('/img/home/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  box-sizing: border-box;
  overflow: hidden;
}

.vm-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 25%, rgba(0, 0, 0, 0.303) 0%, rgba(0, 0, 0, 0.089) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.vm-hero-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  left: -150px;
  top: 20%;
  background: #000000;
  filter: blur(280px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.vm-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--vm-container-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.vm-hero-content {
  max-width: 675px;
}

.vm-hero-title {
  font-family: var(--vm-font);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.vm-hero-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #F1F5F9;
  margin: 0 0 32px;
  max-width: 620px;
}

.vm-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.vm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--vm-green-600);
  color: #FFFFFF;
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(21, 148, 75, 0.35);
  cursor: pointer;
}

.vm-btn-primary:hover {
  background-color: var(--vm-green-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 148, 75, 0.5);
  color: #FFFFFF;
}

.vm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #FFFFFF;
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #FFFFFF;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.vm-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION 2 — PROBLEM STATEMENT / THREATS (ANCAMAN BISNIS)
   ========================================================================== */
.vm-threats-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FFFFFF;
}

.vm-threats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vm-threat-card {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-sizing: border-box;
  text-decoration: none;
  background-color: #1a1a1a;
  border-bottom: 8px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.vm-threat-card.active,
.vm-threat-card:hover {
  border-bottom-color: var(--vm-green-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.vm-threat-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.vm-threat-card:hover .vm-threat-card-bg {
  transform: scale(1.08);
}

.vm-threat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

.vm-threat-card-title {
  position: relative;
  z-index: 3;
  font-family: var(--vm-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   SECTION 3 — VEROMON PEST CONTROL (ABOUT & PILLARS - Figma #9760:4864)
   ========================================================================== */
.vm-about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.vm-about-grid {
  display: flex;
  align-items: stretch;
  gap: 56px;
}

/* Container: Hug / Fit */
.vm-about-pillars {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  flex: 0 0 auto;
  width: fit-content;
  align-self: stretch;
  min-height: 300px;
  padding: 20px 0;
  box-sizing: border-box;
}

/* 3 Items: Fixed Equal Width (156px) */
.vm-pillar-item {
  width: 156px;
  flex: 0 0 156px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Staggered Vertical Stair-Step Positioning */
.vm-pillar-item.vm-pillar-1 {
  justify-content: flex-start;
}

.vm-pillar-item.vm-pillar-2 {
  justify-content: center;
}

.vm-pillar-item.vm-pillar-3 {
  justify-content: flex-end;
}

.vm-pillar-icon-box {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-pillar-icon-box:hover {
  transform: scale(1.08);
}

.vm-pillar-icon-box img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}

/* Text label: Inter Semi Bold 16px, line-height 24px, #138744, no pill background */
.vm-pillar-badge {
  display: block;
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--vm-green-700);
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;
  max-width: 136px;
}

/* Divider: Vertical line stretching full height */
.vm-about-divider {
  width: 1px;
  background-color: #D2D2D2;
  align-self: stretch;
  flex-shrink: 0;
}

/* Right Content: Fill */
.vm-about-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.vm-about-title {
  font-family: var(--vm-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: #333333;
  margin: 0 0 24px;
}

.vm-about-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #777777;
  margin: 0 0 24px;
}

.vm-btn-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--vm-green-600);
  color: var(--vm-green-600);
  background-color: transparent;
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.vm-btn-link-pill svg {
  transition: transform 0.3s ease;
}

.vm-btn-link-pill:hover {
  background-color: var(--vm-green-600);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(21, 148, 75, 0.25);
}

.vm-btn-link-pill:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION 4 — LAYANAN KAMI (6 SERVICE CARDS)
   ========================================================================== */
.vm-services-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FFFFFF;
}

.vm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.vm-service-card {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 32px 28px;
  box-sizing: border-box;
  text-decoration: none;
  background-color: #111111;
  border-bottom: 6px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  text-align: center;
}

.vm-service-card:hover,
.vm-service-card.is-active {
  border-bottom-color: var(--vm-green-primary);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.vm-service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0px);
  transform: scale(1);
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.vm-service-card:hover .vm-service-card-bg,
.vm-service-card.is-active .vm-service-card-bg {
  filter: blur(4px);
  transform: scale(1.08);
}

.vm-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.75) 65%, rgba(0, 0, 0, 0.96) 100%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.4s ease;
}

.vm-service-card:hover .vm-service-card-overlay,
.vm-service-card.is-active .vm-service-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 15%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.98) 100%);
}

.vm-service-card-body {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: gap 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-service-card-title {
  font-family: var(--vm-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Saat tidak hover: deskripsi, garis, dan tombol tersembunyi tanpa space sisa */
.vm-service-card-desc {
  font-family: var(--vm-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-service-card-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.45);
  margin: 0 auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  font-family: var(--vm-font);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0 18px;
  border-radius: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-width 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

/* Saat hover atau is-active di tengah layar: gap aktif, tampilkan deskripsi lengkap, garis, tombol, dan stroke hijau */
.vm-service-card:hover .vm-service-card-body,
.vm-service-card.is-active .vm-service-card-body {
  gap: 10px;
}

.vm-service-card:hover .vm-service-card-desc,
.vm-service-card.is-active .vm-service-card-desc {
  opacity: 1;
  max-height: 120px;
  transform: translateY(0);
}

.vm-service-card:hover .vm-service-card-divider,
.vm-service-card.is-active .vm-service-card-divider {
  opacity: 1;
  max-height: 2px;
  margin: 2px auto;
  transform: translateY(0);
}

.vm-service-card:hover .vm-service-card-btn,
.vm-service-card.is-active .vm-service-card-btn {
  opacity: 1;
  max-height: 48px;
  padding: 7px 18px;
  border-width: 1px;
  pointer-events: auto;
  transform: translateY(0);
}

.vm-service-card-btn:hover {
  background-color: var(--vm-green-primary);
  border-color: var(--vm-green-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION 5 — MENANGANI BERBAGAI LINGKUNGAN (Figma #9810:146)
   ========================================================================== */
.vm-env-section {
  position: relative;
  padding: 80px 0;
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
  overflow: hidden;
}

.vm-env-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.vm-env-title {
  font-family: var(--vm-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: #333333;
  margin: 0 0 14px;
}

.vm-env-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #777777;
  margin: 0 0 36px;
  max-width: 600px;
}

.vm-env-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 20px;
  max-width: 520px;
}

.vm-env-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.vm-env-badge-item:hover {
  transform: translateX(4px);
  border-color: transparent;
  box-shadow: none;
}

.vm-env-badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.vm-env-badge-text {
  font-family: var(--vm-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #333333;
}

/* ==========================================================================
   SECTION 6 — CARA KERJA (HOW WE WORK)
   ========================================================================== */
.vm-process-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FFFFFF;
}

.vm-process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

/* ==========================================================================
   SECTION 6 — CARA KERJA (Figma #9768:5583)
   ========================================================================== */
.vm-process-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.vm-process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.vm-process-header-title {
  font-family: var(--vm-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: #333333;
  margin: 0;
}

.vm-process-header-desc {
  font-family: var(--vm-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #777777;
  max-width: 500px;
  text-align: right;
  margin: 0;
}

.vm-process-layout {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 462px;
}

.vm-process-image-col {
  width: 65%;
  flex: 0 0 65%;
  height: 480px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vm-process-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.02);
}

.vm-process-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.vm-process-steps-col {
  width: 45%;
  flex: 0 0 45%;
  margin-left: -10%;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 100% 100%, #0C5129 0%, #15944B 93%);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 16px 36px rgba(12, 81, 41, 0.25);
  box-sizing: border-box;
}

/* Base Step Card */
.vm-step-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.vm-step-card:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.vm-step-num {
  font-family: var(--vm-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #FFFFFF;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.vm-step-line {
  width: 1px;
  height: 33px;
  background-color: #FFFFFF;
  opacity: 0.7;
  flex-shrink: 0;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.vm-step-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.vm-step-title {
  font-family: var(--vm-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #FFFFFF;
  margin: 0;
  transition: color 0.25s ease;
}

.vm-step-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #777777;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    transform 0.3s ease,
    margin 0.3s ease;
}

/* Active State Card */
.vm-step-card.active {
  background-color: #FFFFFF;
  padding: 10px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.vm-step-card.active .vm-step-num {
  color: var(--vm-green-600);
}

.vm-step-card.active .vm-step-line {
  background-color: var(--vm-green-600);
  opacity: 1;
}

.vm-step-card.active .vm-step-title {
  color: var(--vm-green-600);
}

.vm-step-card.active .vm-step-desc {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 2px;
}

/* ==========================================================================
   SECTION 7 — MENGAPA PILIH VEROMON (WHY CHOOSE US)
   ========================================================================== */
.vm-why-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FAFCFA;
}

.vm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

.vm-why-card {
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.3s ease;
}

.vm-why-card:hover {
  transform: translateY(-4px);
}

.vm-why-icon {
  height: 90px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.vm-why-card:hover .vm-why-icon {
  transform: scale(1.08);
}

.vm-why-card-title {
  font-family: var(--vm-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--vm-text-heading);
  margin: 0 0 10px;
}

.vm-why-card-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--vm-text-muted);
  margin: 0;
}

/* Borders between cards in 3x2 grid */
.vm-why-card:not(:nth-child(3n)) {
  border-right: 1px solid rgba(2, 155, 63, 0.18);
}

.vm-why-card:nth-child(-n+3) {
  border-bottom: 1px solid rgba(2, 155, 63, 0.18);
}

/* ==========================================================================
   SECTION 8 — KEGIATAN KAMI DI LAPANGAN (GALLERY)
   ========================================================================== */
.vm-gallery-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FFFFFF;
  overflow: visible;
}

.vm-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vm-gallery-row-1 {
  display: grid;
  grid-template-columns: 3fr 5fr 4fr 3fr;
  gap: 16px;
  height: 290px;
}

.vm-gallery-row-2 {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr 5fr;
  gap: 16px;
  height: 290px;
}

.vm-gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background-color: #111111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.vm-gallery-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vm-gallery-layer.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.vm-gallery-layer.is-incoming {
  opacity: 1;
  z-index: 2;
}

.vm-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vm-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  z-index: 3;
}

.vm-gallery-item:hover .vm-gallery-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vm-gallery-service {
  font-family: var(--vm-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vm-green-100, #B1E0C3);
  margin-bottom: 4px;
}

.vm-gallery-title {
  font-family: var(--vm-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 25px;
  color: #FFFFFF;
  margin: 0;
}

.vm-gallery-mobile-wrapper {
  display: none;
}

/* ==========================================================================
   GALLERY LIGHTBOX PREVIEW MODAL
   ========================================================================== */
.vm-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.vm-lightbox.active,
.vm-lightbox.is-open {
  display: flex !important;
}

.vm-lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 86vw;
  max-height: 88vh;
  cursor: default;
}

.vm-lightbox-img {
  max-width: 80vw;
  max-height: 74vh;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  display: block;
  user-select: none;
  transition: opacity 0.2s ease;
}

.vm-lightbox-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 80vw;
  box-sizing: border-box;
  color: #FFFFFF;
}

.vm-lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vm-lightbox-service {
  font-family: var(--vm-font, sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vm-green-100, #B1E0C3);
  letter-spacing: 0.08em;
}

.vm-lightbox-title {
  font-family: var(--vm-font, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.vm-lightbox-counter {
  font-family: var(--vm-font, monospace, sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
}

.vm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 10;
  padding: 0;
}

.vm-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.06);
}

.vm-lightbox-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.vm-lightbox-prev {
  left: 28px;
}

.vm-lightbox-next {
  right: 28px;
}

.vm-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
  padding: 0;
}

.vm-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .vm-lightbox {
    padding: 12px;
  }

  .vm-lightbox-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }

  .vm-lightbox-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .vm-lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .vm-lightbox-img {
    max-width: 90vw;
    max-height: 65vh;
  }

  .vm-lightbox-caption {
    max-width: 88vw;
  }

  .vm-lightbox-title {
    font-size: 14px;
  }

  .vm-lightbox-service {
    font-size: 11px;
  }
}

/* ==========================================================================
   SECTION 9 — ARTIKEL & INFORMASI (BLOG)
   ========================================================================== */
.vm-articles-section {
  padding: var(--vm-section-pad) 0;
  background-color: #FAFCFA;
}

.vm-articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.vm-articles-header-left {
  max-width: 720px;
}

.vm-articles-title {
  font-family: var(--vm-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: var(--vm-text-heading);
  margin: 0 0 10px;
}

.vm-articles-desc {
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--vm-text-body);
  margin: 0;
}

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

.vm-articles-desktop-nav {
  display: none;
}

.vm-articles-desktop-btn {
  display: none;
}

.vm-articles-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.vm-articles-grid {
  display: flex;
  gap: 24px;
  height: fit-content;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 20px;
  margin: 0;
}

.vm-articles-grid::-webkit-scrollbar {
  display: none;
}

.vm-articles-empty {
  width: 100%;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #AAAAAA;
  text-align: center;
}

.vm-articles-empty svg {
  color: #CCCCCC;
  opacity: 0.7;
}

.vm-articles-empty p {
  font-family: var(--vm-font);
  font-size: 15px;
  font-weight: 400;
  color: #AAAAAA;
  margin: 0;
}

.vm-article-card {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.vm-article-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #EEEEEE;
}

.vm-article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-article-card:hover .vm-article-img-wrap img {
  transform: scale(1.06);
}

.vm-article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vm-article-date {
  font-family: var(--vm-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--vm-text-date);
  margin: 0 0 10px;
}

.vm-article-title {
  font-family: var(--vm-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--vm-text-dark);
  margin: 0 0 12px;
  transition: color 0.2s ease;
}

.vm-article-card:hover .vm-article-title {
  color: var(--vm-green-primary);
}

.vm-article-excerpt {
  font-family: var(--vm-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--vm-text-gray);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vm-article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--vm-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--vm-green-primary);
  margin-top: auto;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.vm-article-readmore svg {
  transition: transform 0.2s ease;
}

.vm-article-card:hover .vm-article-readmore {
  gap: 10px;
}

.vm-article-card:hover .vm-article-readmore svg {
  transform: translateX(3px);
}

/* ==========================================================================
   SECTION 10 — CTA BANNER (LINDUNGI LINGKUNGAN ANDA) (Figma Spec #9779:4959)
   ========================================================================== */
.vm-cta-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: 600px;
  background-color: #0d1e15;
  background-image: url('/img/home/cta-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.vm-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.vm-cta-scrim {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 380px;
  background-color: #000000;
  filter: blur(160px);
  opacity: 0.68;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

.vm-cta-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
}

.vm-cta-content {
  width: 100%;
  max-width: 617px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 40px;
}

.vm-cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.vm-cta-title {
  font-family: var(--vm-font);
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
  text-align: right;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.vm-cta-desc {
  font-family: var(--vm-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #FFFFFF;
  margin: 0;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.vm-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--vm-green-primary);
  color: #FFFFFF;
  font-family: var(--vm-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 155, 63, 0.4);
}

.vm-btn-cta:hover {
  background-color: var(--vm-green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 155, 63, 0.55);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Landscape / Laptop (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  :root {
    --vm-section-pad: 60px;
  }

  .vm-threats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vm-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .vm-about-grid {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .vm-about-pillars {
    width: 100%;
    max-width: 520px;
    justify-content: center;
    flex: none;
  }

  .vm-about-divider {
    display: none;
  }

  .vm-about-content {
    width: 100%;
    align-items: flex-start;
  }

  .vm-env-section {
    background-size: auto 80%;
    background-position: right bottom;
  }

  .vm-process-layout {
    flex-direction: column;
    min-height: auto;
    gap: 32px;
  }

  .vm-process-image-col {
    width: 100%;
    flex: none;
    height: 380px;
  }

  .vm-process-steps-col {
    width: 100%;
    flex: none;
    margin-left: 0;
  }

  .vm-process-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .vm-process-header-desc {
    text-align: left;
    max-width: 100%;
  }

  .vm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vm-why-card:not(:nth-child(3n)) {
    border-right: none;
  }

  .vm-why-card:nth-child(odd) {
    border-right: 1px solid rgba(2, 155, 63, 0.18);
  }

  .vm-why-card:nth-child(-n+4) {
    border-bottom: 1px solid rgba(2, 155, 63, 0.18);
  }

  .vm-gallery-row-1,
  .vm-gallery-row-2 {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .vm-gallery-item {
    height: 220px;
  }

  .vm-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vm-cta-section {
    min-height: 520px;
    height: auto;
    padding: 60px 0;
  }

  .vm-cta-container {
    padding: 0 40px;
  }

  .vm-cta-content {
    max-width: 520px;
    gap: 32px;
  }

  .vm-cta-title {
    font-size: 38px;
    line-height: 46px;
  }

  .vm-cta-desc {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Tablet Portrait & Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  :root {
    --vm-section-pad: 48px;
  }

  /* 1. HERO BANNER RATA TENGAH */
  .vm-hero-section {
    min-height: 540px;
    padding: 120px 0 60px;
    text-align: center;
    background-position: right center;
  }

  .vm-hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vm-hero-title {
    font-size: 32px;
    line-height: 42px;
    text-align: center;
  }

  .vm-hero-desc {
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    margin: 0 auto 28px;
    max-width: 500px;
  }

  .vm-hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .vm-section-title {
    font-size: 26px;
    line-height: 36px;
  }

  .vm-threats-grid {
    grid-template-columns: 1fr;
  }

  .vm-threat-card {
    height: 320px;
  }

  /* 2. SECTION VEROMON PEST CONTROL (ABOUT PILLARS TO SIDE / HORIZONTAL & TEXT CENTER) */
  .vm-about-grid {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .vm-about-pillars {
    flex-direction: row !important;
    gap: 12px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    min-height: auto;
    padding: 0;
  }

  .vm-pillar-item {
    width: auto;
    flex: 1 1 0;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    justify-content: flex-start !important;
  }

  .vm-pillar-icon-box {
    width: 60px;
    height: 60px;
  }

  .vm-pillar-icon-box img {
    width: 60px;
    height: 60px;
  }

  .vm-pillar-badge {
    font-size: 13px;
    line-height: 18px;
    text-align: center;
  }

  .vm-about-content {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }

  .vm-about-title {
    font-size: 26px;
    line-height: 36px;
    text-align: center;
    margin: 0 0 16px;
  }

  .vm-about-desc {
    font-size: 15px;
    line-height: 26px;
    text-align: center;
    margin: 0 auto 24px;
  }

  .vm-about-content .vm-btn-link-pill {
    margin: 0 auto;
    align-self: center;
  }

  /* 3. SECTION LAYANAN KAMI (Mobile grid & center active) */
  .vm-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vm-service-card {
    height: 360px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.35s ease;
  }

  /* Di layar sentuh mobile, hanya card yang sedang di tengah (.is-active) yang menampilkan hover */
  @media (hover: none) {
    .vm-service-card:not(.is-active):hover {
      border-bottom-color: transparent !important;
      transform: none !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    }

    .vm-service-card:not(.is-active):hover .vm-service-card-bg {
      filter: blur(0px) !important;
      transform: scale(1) !important;
    }

    .vm-service-card:not(.is-active):hover .vm-service-card-overlay {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.75) 65%, rgba(0, 0, 0, 0.96) 100%) !important;
    }

    .vm-service-card:not(.is-active):hover .vm-service-card-body {
      gap: 0 !important;
    }

    .vm-service-card:not(.is-active):hover .vm-service-card-desc,
    .vm-service-card:not(.is-active):hover .vm-service-card-divider {
      opacity: 0 !important;
      max-height: 0 !important;
      transform: translateY(8px) !important;
    }

    .vm-service-card:not(.is-active):hover .vm-service-card-btn {
      opacity: 0 !important;
      max-height: 0 !important;
      padding: 0 18px !important;
      border-width: 0 !important;
      pointer-events: none !important;
      transform: translateY(12px) !important;
    }
  }

  .vm-env-section {
    padding: 60px 0;
    background-size: auto 50%;
    background-position: right bottom;
  }

  .vm-env-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 16px;
  }

  .vm-env-badge-text {
    font-size: 16px;
    line-height: 24px;
  }

  .vm-process-image-col {
    height: 260px;
  }

  .vm-process-steps-col {
    padding: 18px 16px;
  }

  .vm-step-card {
    padding: 8px 10px;
  }

  .vm-step-card:not(.active):hover {
    background-color: transparent !important;
    transform: none !important;
  }

  .vm-step-title {
    font-size: 18px;
    line-height: 24px;
  }

  .vm-step-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .vm-why-grid {
    grid-template-columns: 1fr;
  }

  .vm-why-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(2, 155, 63, 0.18);
  }

  .vm-why-card:last-child {
    border-bottom: none;
  }

  /* 4. SECTION GALLERY CENTER-PEEK CAROUSEL DENGAN PANAH */
  .vm-gallery-desktop {
    display: none !important;
  }

  .vm-gallery-mobile-wrapper {
    display: block !important;
    position: relative;
    /* Break out of the 24px container padding so track spans full device width */
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    overflow: hidden;
    padding: 10px 0 8px;
  }

  /* Arrow buttons: absolute, vertically centered on the carousel track */
  .vm-gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(2, 155, 63, 0.35);
    color: var(--vm-green-primary, #029B3F);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    backdrop-filter: blur(4px);
  }

  .vm-gallery-carousel-btn.prev {
    left: 10px;
  }

  .vm-gallery-carousel-btn.next {
    right: 10px;
  }

  .vm-gallery-carousel-btn:active {
    background-color: var(--vm-green-primary, #029B3F);
    color: #FFFFFF;
    transform: translateY(-50%) scale(0.92);
    border-color: var(--vm-green-primary, #029B3F);
  }

  .vm-gallery-mobile-track {
    display: flex !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Symmetric padding so center card aligns perfectly, side cards peek */
    padding: 10px 8% 20px !important;
    margin: 0;
  }

  .vm-gallery-mobile-track::-webkit-scrollbar {
    display: none;
  }

  .vm-gallery-mobile-card {
    /* 85% of full-width track = large center card, ~7.5% peek on each side */
    flex: 0 0 85% !important;
    width: 85% !important;
    min-width: 85% !important;
    height: 270px !important;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    cursor: pointer;
    background: #0F172A;
    /* Side cards slightly smaller and dimmer */
    transform: scale(0.91);
    opacity: 0.62;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1),
      opacity 0.4s cubic-bezier(0.2, 0, 0, 1),
      box-shadow 0.4s cubic-bezier(0.2, 0, 0, 1),
      border-color 0.35s ease;
  }

  /* Saat card di tengah: besar, terang, border hijau */
  .vm-gallery-mobile-card.is-center {
    transform: scale(1) !important;
    opacity: 1 !important;
    box-shadow: 0 16px 36px -6px rgba(2, 155, 63, 0.40), 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    z-index: 2;
  }

  .vm-gallery-mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
  }

  .vm-gallery-mobile-card.is-center .vm-gallery-mobile-img {
    transform: scale(1.06);
  }

  .vm-gallery-mobile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
  }

  .vm-gallery-mobile-card.is-center .vm-gallery-mobile-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Match desktop overlay text styles exactly */
  .vm-gallery-mobile-service {
    font-family: var(--vm-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vm-green-100, #B1E0C3);
    margin-bottom: 4px;
  }

  .vm-gallery-mobile-title {
    font-family: var(--vm-font);
    font-size: 19px;
    font-weight: 700;
    line-height: 25px;
    color: #FFFFFF;
    margin: 0;
  }

  /* 5. SECTION ARTIKEL CAROUSEL (1 ARTIKEL PER SLIDE DENGAN PANAH) */
  .vm-articles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .vm-articles-header-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .vm-articles-desktop-nav {
    display: none !important;
  }

  .vm-articles-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
  }

  /* Arrow buttons: absolute, vertically centered on the article card, exactly on card edge (center of button on card edge) */
  .vm-articles-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(2, 155, 63, 0.35);
    color: var(--vm-green-primary, #029B3F);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(4px);
    touch-action: manipulation;
  }

  /* Ujung card pas di tengah-tengah button panah (center of 40px button = -20px offset) */
  .vm-articles-carousel-btn.prev {
    left: -20px;
  }

  .vm-articles-carousel-btn.next {
    right: -20px;
  }

  .vm-articles-carousel-btn:active {
    background-color: var(--vm-green-primary, #029B3F);
    color: #FFFFFF;
    transform: translateY(-50%) scale(0.92);
    border-color: var(--vm-green-primary, #029B3F);
  }

  .vm-articles-grid {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0 !important;
    margin: 0;
  }

  .vm-articles-grid::-webkit-scrollbar {
    display: none;
  }

  /* Stabilkan card artikel: matikan animasi translateY, naik-turun saat hover, dan seragamkan tinggi */
  .vm-article-card,
  .vm-article-card.anim-slide-up {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box;
    scroll-snap-align: start;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .vm-article-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  }

  .vm-article-img-wrap {
    height: 220px !important;
    width: 100%;
    flex-shrink: 0;
  }

  .vm-article-body {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }

  .vm-article-title {
    font-size: 17px !important;
    line-height: 24px !important;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px !important;
  }

  .vm-article-excerpt {
    font-size: 14px !important;
    line-height: 22px !important;
    min-height: 66px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 16px !important;
  }

  .vm-article-readmore {
    margin-top: auto !important;
  }


  /* 6. CTA BANNER RATA TENGAH & GRADIENT HITAM LEBIH TRANSPARAN */
  .vm-cta-section {
    min-height: 440px;
    height: auto;
    padding: 60px 0;
    background-position: center center;
    text-align: center;
  }

  .vm-cta-scrim {
    display: none;
  }

  .vm-cta-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.55) 100%) !important;
  }

  .vm-cta-container {
    padding: 0 24px;
    justify-content: center !important;
    text-align: center;
  }

  .vm-cta-content {
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 28px;
    margin: 0 auto;
  }

  .vm-cta-text-group {
    align-items: center !important;
    text-align: center !important;
  }

  .vm-cta-title {
    font-size: 28px;
    line-height: 38px;
    text-align: center !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  }

  .vm-cta-title-br {
    display: none;
  }

  .vm-cta-desc {
    font-size: 15px;
    line-height: 24px;
    text-align: center !important;
    max-width: 480px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  }

  .vm-btn-cta {
    width: auto;
    align-self: center !important;
    margin: 0 auto;
    text-align: center;
  }
}

@media screen and (min-width: 769px) {

  .vm-gallery-mobile-nav,
  .vm-gallery-mobile-wrapper {
    display: none !important;
  }

  /* =====================================================================
     ARTICLE ARROWS — OVERLAY KIRI/KANAN TENGAH CARD (DESKTOP)
     ===================================================================== */
  .vm-articles-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1.5px solid rgba(2, 155, 63, 0.30);
    color: var(--vm-green-primary, #029B3F);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }

  .vm-articles-carousel-btn.prev {
    left: -22px;
  }

  .vm-articles-carousel-btn.next {
    right: -22px;
  }

  .vm-articles-carousel-btn:hover {
    background-color: var(--vm-green-primary, #029B3F);
    color: #FFFFFF;
    border-color: var(--vm-green-primary, #029B3F);
    box-shadow: 0 6px 20px rgba(2, 155, 63, 0.30);
    transform: translateY(-50%) scale(1.05);
  }

  .vm-articles-carousel-btn:active {
    transform: translateY(-50%) scale(0.93);
    background-color: var(--vm-green-primary, #029B3F);
    color: #FFFFFF;
  }
}

@media screen and (max-width: 480px) {
  .vm-btn-cta {
    width: auto;
    min-width: 200px;
    text-align: center;
  }
}