/* ==========================================================================
   CV. ALBARA JAYA — Alternating Tone Editorial Design
   Inspiration: Elgen Labs (Rhythmic Light/Dark Zone Transitions, Borderless Clarity)
   Zones:
     - Hero: Dark Industrial Atmosphere (#080B10) with Vivid Fleet Backdrop
     - Layanan: Warm Light Stone (#F6F4EF) Editorial Section
     - Armada: Deep Dark Vault (#090D14) Machine Showroom
     - Kredibilitas: Warm Light Stone (#F6F4EF) Architectural Standards
     - Kontak & Footer: Deep Dark (#080B10) Closing Hub
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Dark Zone Palette */
  --bg-dark-main: #080B10;
  --bg-dark-surface: #0E131C;
  --bg-dark-card: #131A26;
  --text-dark-title: #FFFFFF;
  --text-dark-body: #94A3B8;
  --text-dark-muted: #64748B;
  --line-dark-hairline: rgba(255, 255, 255, 0.09);
  --line-dark-medium: rgba(255, 255, 255, 0.18);

  /* Light Zone Palette (Elgen Labs Warm Stone/Sand) */
  --bg-light-main: #F6F4EF;
  --bg-light-surface: #EDEAE2;
  --bg-light-card: #FFFFFF;
  --text-light-title: #0F172A;
  --text-light-body: #475569;
  --text-light-muted: #64748B;
  --line-light-hairline: rgba(15, 23, 42, 0.08);
  --line-light-medium: rgba(15, 23, 42, 0.16);

  /* Brand Accents */
  --amber-primary: #F59E0B;
  --amber-deep: #D97706;
  --amber-light: #FDE68A;
  --amber-soft-bg: rgba(245, 158, 11, 0.12);
  --safety-green: #10B981;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --container-max: 1200px;
  --radius-pill: 9999px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-spring);
  --transition-base: 0.35s var(--ease-spring);
  --transition-smooth: 0.6s var(--ease-spring);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background-color: var(--bg-dark-main);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* ── TYPOGRAPHY UTILITIES ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.eyebrow-dark {
  color: var(--amber-primary);
}
.eyebrow-dark::before {
  background-color: var(--amber-primary);
}

.eyebrow-light {
  color: var(--amber-deep);
}
.eyebrow-light::before {
  background-color: var(--amber-deep);
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.08rem;
  max-width: 660px;
  line-height: 1.75;
}

.highlight-amber {
  color: var(--amber-primary);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber-primary);
  color: #080B10;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark-medium);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

/* ════════════ FLOATING PILL NAVBAR ════════════ */
.nav-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.nav-wrapper.nav-hidden {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  background: rgba(14, 19, 28, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-dark-medium);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  transition: all var(--transition-base);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark-body);
  transition: color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: #FFFFFF;
}

/* ════════════ ZONE 1: IMMERSIVE HERO (DARK ATMOSPHERE) ════════════ */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 70px;
  overflow: hidden;
  background-color: var(--bg-dark-main);
}

/* Full-bleed Fleet Backdrop — BRIGHT & CLEAR (User Feedback Fixed) */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 35%;
  /* Bright and authentic daylight */
  filter: brightness(0.92) contrast(1.05) saturate(1.05);
}

/* Smart Horizontal Gradient:
   Dark on left for 100% text legibility, completely transparent on right so machines are vivid! */
.hero-backdrop-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(8, 11, 16, 0.4) 0%, rgba(8, 11, 16, 0.7) 75%, var(--bg-dark-main) 100%),
    linear-gradient(90deg, rgba(8, 11, 16, 0.96) 0%, rgba(8, 11, 16, 0.85) 45%, rgba(8, 11, 16, 0.25) 75%, rgba(8, 11, 16, 0.05) 100%);
}

.hero-content-wrap {
  max-width: 760px;
  margin-bottom: 48px;
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: #F1F5F9;
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 660px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

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

/* ── BIG BOLD ANIMATED COUNTER CARDS ── */
.hero-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.counter-card {
  display: flex;
  flex-direction: column;
  background: rgba(14, 19, 28, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark-medium);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-base);
}

.counter-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-primary);
  background: rgba(18, 25, 38, 0.92);
}

.counter-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.counter-suffix {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--amber-primary);
}

.counter-static {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.counter-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--safety-green);
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 14px var(--safety-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.counter-label {
  font-size: 0.95rem;
  color: var(--text-dark-body);
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.4;
}

/* ── CRISP ARCHITECTURAL SECTION BOUNDARIES (ZERO FLICKERING GRADIENTS) ── */
.section-about {
  border-top: 1px solid var(--line-light-hairline);
}

.zone-dark-showroom {
  border-top: 1px solid var(--line-dark-hairline);
  border-bottom: 1px solid var(--line-dark-hairline);
}

.section-contact {
  border-top: 1px solid var(--line-dark-hairline);
}

/* ════════════ ZONE 2: WARM LIGHT STONE EDITORIAL (SEQUENTIAL FOCUS) ════════════ */
.zone-light {
  background-color: var(--bg-light-main);
  color: var(--text-light-body);
  position: relative;
  z-index: 2;
}

/* ── SECTION TENTANG KAMI (RESTORED EDITORIAL) ── */
.section-about {
  padding: 80px 0 60px;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 56px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line-light-hairline);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(8, 11, 16, 0.88);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-img-badge i {
  color: var(--amber-primary);
}

.about-text-col {
  display: flex;
  flex-direction: column;
}

.about-desc-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light-title);
  margin-bottom: 14px;
}

.about-desc-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light-body);
  margin-bottom: 28px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line-light-hairline);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.about-feat-item:hover {
  transform: translateY(-2px);
  border-color: var(--amber-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.about-feat-item i {
  font-size: 1.25rem;
  color: var(--amber-deep);
  margin-top: 2px;
  flex-shrink: 0;
}

.about-feat-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--text-light-title);
}

.about-feat-item p {
  font-size: 0.82rem;
  color: var(--text-light-body);
  line-height: 1.45;
}

.section-services {
  padding: 80px 0 100px;
}

.zone-light h2,
.zone-light h3,
.zone-light h4 {
  color: var(--text-light-title);
}

.zone-light .section-desc {
  color: var(--text-light-body);
}

/* ════════════ ZONE 2B: LAYANAN INTI (PINNED SCROLL-DRIVEN DECK) ════════════ */
.section-services-pin-wrapper {
  position: relative;
  background-color: var(--bg-light-main);
  width: 100%;
}

@media (min-width: 993px) {
  .section-services-pin-wrapper {
    /* 380vh gives generous holding plateaus so cards never skip accidentally */
    height: 380vh;
    padding: 0 !important;
  }

  .services-pin-container {
    position: sticky;
    top: 96px;
    height: calc(100vh - 110px);
    max-height: 700px;
    min-height: 520px;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 10;
  }

  .services-editorial-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 52px;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .services-rail-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .service-nav-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0 28px;
    width: 100%;
  }

  .service-step-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-light-hairline);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
  }

  .service-step-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--amber-deep);
  }

  .service-step-btn.active {
    background: #FFFFFF;
    border-color: var(--amber-deep);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  }

  .step-num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-light-muted);
    transition: color var(--transition-base);
  }

  .service-step-btn.active .step-num {
    color: var(--amber-deep);
  }

  .step-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
  }

  .step-name {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-light-title);
    overflow-wrap: break-word;
  }

  .step-sub {
    font-size: 0.78rem;
    color: var(--text-light-muted);
    margin-top: 2px;
    overflow-wrap: break-word;
  }

  .services-rail-cta {
    margin-top: auto;
  }

  /* Right In-Place Service Deck: Stacking Paper Sheets / Currency Layers */
  .services-deck-wrap {
    position: relative;
    height: 500px;
    width: 100%;
    min-width: 0;
    padding-top: 44px;
    box-sizing: border-box;
    overflow: visible;
  }

  .service-story-card {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100% - 44px);
    width: 100%;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1.5px solid var(--line-light-hairline);
    border-radius: var(--radius-md);
    padding: 34px 34px 30px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
    transform-origin: center top;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.24s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }

  #serviceCard0 { z-index: 10; }
  #serviceCard1 { z-index: 20; }
  #serviceCard2 { z-index: 30; }

  .service-story-card:hover {
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

/* Scroll Flow Cue Indicator */
.services-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  pointer-events: none;
}

.cue-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-light-hairline);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
}

.cue-arrow {
  color: var(--amber-deep);
  font-size: 0.74rem;
  animation: cueBounce 1.6s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.card-focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light-hairline);
}

.card-step-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.service-step-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-step-dots .step-dot {
  width: 16px;
  height: 3.5px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.14);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-step-dots .step-dot.active {
  width: 28px;
  background: var(--amber-deep);
}

.service-index-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--amber-deep);
  letter-spacing: 0.08em;
}

.service-card-title {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  color: var(--text-light-title);
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-card-text {
  font-size: 1.02rem;
  color: var(--text-light-body);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-fleet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip-item {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-light-main);
  color: var(--text-light-title);
  border: 1px solid var(--line-light-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.service-story-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light-hairline);
  border-bottom: 1px solid var(--line-light-hairline);
  margin-bottom: 28px;
}

.service-story-points li {
  font-size: 0.94rem;
  color: var(--text-light-title);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.service-story-points li i {
  color: var(--amber-deep);
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.service-card-action {
  display: flex;
  align-items: center;
  width: 100%;
}

.btn-outline-light-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light-title);
  background: transparent;
  border: 1.5px solid var(--text-light-title);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

.btn-outline-light-theme:hover {
  background: var(--text-light-title);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ════════════ ZONE 3: DARK MACHINE SHOWROOM (ARMADA CATALOG) ════════════ */
.zone-dark-showroom {
  background-color: var(--bg-dark-main);
  color: var(--text-dark-body);
  padding: 110px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark-hairline);
}

.zone-dark-showroom h2,
.zone-dark-showroom h3,
.zone-dark-showroom h4 {
  color: #FFFFFF;
}

.fleet-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 48px;
}

.fleet-tab {
  background: transparent;
  border: 1px solid var(--line-dark-hairline);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark-body);
  transition: all var(--transition-fast);
}

.fleet-tab:hover {
  color: #FFFFFF;
  border-color: var(--line-dark-medium);
}

.fleet-tab.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  font-weight: 600;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.fleet-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-dark-hairline);
  background: var(--bg-dark-surface);
  transition: all var(--transition-base);
}

.fleet-item:hover {
  border-color: var(--line-dark-medium);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.fleet-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.fleet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.fleet-item:hover .fleet-thumb img {
  transform: scale(1.05);
}

.fleet-tag-year {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  border: 1px solid var(--line-dark-hairline);
}

.fleet-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fleet-cat-name {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--amber-primary);
  margin-bottom: 6px;
}

.fleet-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.fleet-subtext {
  font-size: 0.88rem;
  color: var(--text-dark-body);
  margin-bottom: 20px;
}

.fleet-specs-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark-hairline);
  border-bottom: 1px solid var(--line-dark-hairline);
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.spec-entry {
  display: flex;
  flex-direction: column;
}

.spec-entry span:first-child {
  color: var(--text-dark-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.spec-entry span:last-child {
  font-family: var(--font-mono);
  color: #FFFFFF;
  font-weight: 600;
}

.fleet-cta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fleet-more-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.fleet-more-wrap .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  font-size: 0.9rem;
  padding: 12px 20px;
}

/* ════════════ ZONE 4: WARM LIGHT KREDIBILITAS & STANDAR K3 ════════════ */
.section-credibility {
  padding: 110px 0;
  border-top: 1px solid var(--line-light-hairline);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.credibility-item {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--line-light-hairline);
  padding-top: 22px;
  transition: all var(--transition-base);
}

.credibility-item:hover {
  border-top-color: var(--amber-deep);
  transform: translateY(-2px);
}

.credibility-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber-deep);
  margin-bottom: 10px;
}

.credibility-item h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.credibility-item p {
  color: var(--text-light-body);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ════════════ WILAYAH LAYANAN (SIMPEL & KOMPAK) ════════════ */
.coverage-compact-card {
  margin-top: 48px;
  background: #FFFFFF;
  border: 1px solid var(--line-light-hairline);
  border-left: 4px solid var(--amber-deep);
  border-radius: var(--radius-md);
  padding: 34px 38px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.coverage-compact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.coverage-compact-info {
  flex: 1;
}

.coverage-compact-title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--text-light-title);
  margin-bottom: 8px;
}

.coverage-compact-desc {
  font-size: 0.94rem;
  color: var(--text-light-body);
  max-width: 660px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.coverage-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-light-tint);
  border: 1px solid var(--line-light-hairline);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light-title);
}

.scope-tag i {
  color: var(--amber-deep);
  font-size: 0.85rem;
}

.coverage-compact-action {
  flex-shrink: 0;
}

/* ════════════ ZONE 5: DARK CLOSING HUB & FOOTER ════════════ */
.section-contact {
  padding: 110px 0;
  background: var(--bg-dark-main);
  color: var(--text-dark-body);
}

.section-contact h2,
.section-contact h3,
.section-contact h4 {
  color: #FFFFFF;
}

.contact-card-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-dark-surface);
  border: 1px solid var(--line-dark-hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark-hairline);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.contact-link-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--amber-primary);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-link-text h5 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.contact-link-text p {
  color: var(--text-dark-body);
  font-size: 0.9rem;
}

.footer {
  background: #05070B;
  border-top: 1px solid var(--line-dark-hairline);
  padding: 60px 0 30px;
  color: var(--text-dark-body);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark-hairline);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: var(--text-dark-body);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-copyright {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* ── SCROLL REVEAL MICRO-ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
  transition-delay: var(--stagger-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fast hardware-accelerated fleet item entry */
.fleet-item {
  will-change: transform, opacity;
}

.fleet-item.animate-in {
  animation: fleetCardAppear 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--card-delay, 0s);
}

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

/* ════════════ RESPONSIVE ADAPTATIONS (MOBILE OPTIMIZED & ZERO SCROLL FATIGUE) ════════════ */
@media (max-width: 992px) {
  .hero-counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .credibility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .contact-card-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* ── Layanan Kami: Scroll-Driven Pinned Mobile Experience (Stacking Layers & Zero Clipping) ── */
  .section-services-pin-wrapper {
    position: relative;
    /* 300vh runway on mobile provides comfortable, fatigue-free swipe pacing */
    height: 300vh;
    padding: 0 !important;
  }

  .services-pin-container {
    position: sticky;
    top: 72px;
    height: calc(100vh - 78px);
    min-height: 520px;
    max-height: 630px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 12px;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
  }

  .services-editorial-layout {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .services-rail-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 0;
  }

  .services-rail-panel .eyebrow {
    font-size: 0.74rem;
    margin-bottom: 3px;
  }

  .services-rail-panel .section-title {
    font-size: clamp(1.4rem, 5.2vw, 1.7rem);
    margin-bottom: 0;
    line-height: 1.2;
  }

  /* Redundant buttons and long desc hidden on mobile to give full focus to the pinned card */
  .services-rail-panel .section-desc {
    display: none;
  }

  .service-nav-steps {
    display: none !important;
  }

  .services-rail-cta {
    display: none !important;
  }

  .services-deck-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 440px;
    min-height: 430px;
    padding-top: 28px;
    margin-top: 4px;
    box-sizing: border-box;
    overflow: visible;
  }

  .service-story-card {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: calc(100% - 28px);
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1.5px solid var(--line-light-hairline);
    border-radius: var(--radius-sm);
    padding: 16px 16px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
    overflow: visible;
    transform-origin: center top;
    will-change: transform, opacity;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.22s ease,
                box-shadow 0.3s ease;
  }

  #serviceCard0 { z-index: 10; }
  #serviceCard1 { z-index: 20; }
  #serviceCard2 { z-index: 30; }

  .card-focus-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-light-hairline);
  }

  .service-index-badge {
    font-size: 0.74rem;
  }

  .service-card-title {
    font-size: 1.24rem;
    line-height: 1.25;
    margin-bottom: 6px;
    overflow-wrap: break-word;
  }

  .service-card-text {
    font-size: 0.83rem;
    line-height: 1.5;
    margin-bottom: 10px;
    overflow-wrap: break-word;
    color: var(--text-light-body);
  }

  .service-fleet-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .chip-item {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 9px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .service-card-action {
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
  }

  .service-card-action .btn-outline-light-theme {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    border-radius: var(--radius-sm);
  }

  .services-scroll-cue {
    margin-top: 10px;
  }

  .cue-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
  }
}

@media (max-width: 768px) {
  /* Floating header on mobile */
  .nav-wrapper {
    top: 12px;
    padding: 0 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-pill {
    padding: 7px 14px;
  }
  .nav-logo-img {
    width: 30px;
    height: 30px;
  }
  .nav-brand-title {
    font-size: 0.95rem;
  }
  .nav-pill .btn-whatsapp {
    padding: 7px 13px;
    font-size: 0.78rem;
  }

  /* Compact section paddings to eliminate empty space */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 45px;
    min-height: auto;
  }
  .section-about {
    padding: 48px 0 36px;
  }
  .section-services {
    padding: 42px 0 48px;
  }
  .zone-dark-showroom {
    padding: 50px 0 54px;
  }
  .section-credibility {
    padding: 48px 0 50px;
  }
  .section-contact {
    padding: 52px 0 46px;
  }

  /* Hero adjustments */
  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.7rem);
    margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-counters-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .counter-card {
    padding: 14px 14px;
  }
  .counter-number {
    font-size: 2rem;
  }
  .counter-suffix {
    font-size: 1.5rem;
  }
  .counter-label {
    font-size: 0.8rem;
    margin-top: 6px;
  }

  /* Tentang Kami: 2x2 pillars avoid vertical fatigue */
  .about-img-wrap img {
    max-height: 260px;
  }
  .about-desc-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .about-desc-sub {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .about-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .about-feat-item {
    padding: 12px;
    gap: 10px;
  }
  .about-feat-item i {
    font-size: 1.1rem;
  }
  .about-feat-item h4 {
    font-size: 0.86rem;
    margin-bottom: 2px;
  }
  .about-feat-item p {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  /* Layanan Kami: Mobile fine-tuning & zero overflow */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .service-story-card {
    padding: 20px 16px;
  }
  .service-step-btn {
    padding: 12px 14px;
    gap: 12px;
  }

  /* Armada Showroom: Horizontal swipeable filter tabs */
  .fleet-filter-bar {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fleet-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .fleet-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fleet-thumb {
    height: 185px;
  }
  .fleet-info {
    padding: 18px 16px;
  }
  .fleet-name {
    font-size: 1.15rem;
  }
  .fleet-subtext {
    font-size: 0.82rem;
  }
  .fleet-specs-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    padding: 10px 12px;
    margin: 14px 0 16px;
  }
  .spec-entry span:nth-child(1) {
    font-size: 0.72rem;
  }
  .spec-entry span:nth-child(2) {
    font-size: 0.8rem;
  }
  .fleet-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Standar K3: 2x2 compact grid */
  .credibility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 36px;
  }
  .credibility-item {
    padding-top: 14px;
  }
  .credibility-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  .credibility-item p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* Wilayah Layanan Compact Card */
  .coverage-compact-card {
    padding: 22px 18px;
    margin-top: 32px;
  }
  .coverage-compact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .coverage-compact-action {
    width: 100%;
  }
  .coverage-compact-action .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact & Footer */
  .contact-card-box {
    padding: 28px 20px;
  }
  .contact-direct-actions {
    padding: 20px 16px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
