/* ============================================
   PT RAKSA LANGLANG BUANA - Main Stylesheet
   Tema: futuristik industrial, base putih dengan gradasi oranye.
   Oranye = warna utama, merah #D00204 diambil dari swoosh logo
   sebagai ujung gradasi. Tidak ada blok gelap di bagian atas.
   ============================================ */

:root {
  /* Brand */
  --rlb-accent: #FF6A00;
  --rlb-accent-dark: #E25200;
  --rlb-accent-light: #FF9A3C;
  --rlb-accent-tint: #FFF3EA;
  --rlb-red: #D00204;
  --rlb-red-dark: #A80103;
  --rlb-green: #6BA707;
  --rlb-green-tint: #F1F8E4;

  /* Gradasi — motif utama tema ini */
  --grad-brand: linear-gradient(135deg, #FF8A00 0%, #FF6A00 45%, #D00204 100%);
  --grad-brand-soft: linear-gradient(135deg, #FFB067 0%, #FF6A00 100%);
  --grad-wash: linear-gradient(180deg, #FFF6EF 0%, #FFFFFF 72%);

  /* Surface */
  --rlb-surface: #FFFFFF;
  --rlb-surface-alt: #F7F8FA;
  --rlb-border: #E6E8EC;
  --rlb-border-strong: #C9CFD8;

  /* Ink */
  --rlb-ink: #0F1115;
  --rlb-ink-muted: #5A6270;
  --rlb-ink-dim: #8A93A0;

  /* Carbon — hanya footer & lightbox */
  --rlb-carbon: #0F1115;
  --rlb-carbon-2: #191D24;
  --rlb-white: #F4F6F8;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.06), 0 1px 3px rgba(15, 17, 21, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 17, 21, 0.08), 0 2px 4px rgba(15, 17, 21, 0.04);
  --shadow-lg: 0 14px 34px rgba(15, 17, 21, 0.12), 0 4px 8px rgba(15, 17, 21, 0.05);
  --glow-accent: 0 8px 26px rgba(255, 106, 0, 0.35);

  /* Typography */
  --font-display: 'Space Grotesk', 'Archivo Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / Layout */
  --container-width: 1240px;
  --radius: 2px;
  --radius-lg: 3px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--rlb-surface);
  color: var(--rlb-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rlb-ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 16px; text-transform: uppercase; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p { color: var(--rlb-ink-muted); }

/* Angka & aksen bergradasi — dipakai berulang sebagai motif */
.grad-text,
.stat strong,
.mission-number,
.why-number,
.category-card-index {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   Hydraulic line - signature divider motif
   ============================================ */
.hydra-line {
  position: relative;
  height: 2px;
  width: 100%;
  background: var(--rlb-border);
  overflow: hidden;
}
.hydra-line::after {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--rlb-accent), transparent);
  animation: pressureFlow 3.5s linear infinite;
}
@keyframes pressureFlow {
  0% { left: -30%; }
  100% { left: 130%; }
}
.hydra-line-footer { background: rgba(244, 246, 248, 0.14); margin-bottom: 40px; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rlb-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong {
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--rlb-ink);
  letter-spacing: -0.01em;
}
.brand-text small { font-size: 0.7rem; color: var(--rlb-ink-dim); }

.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rlb-ink-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--rlb-accent); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.btn-cta {
  background: var(--grad-brand);
  color: white;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: var(--glow-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--rlb-ink); }

/* ============================================
   Buttons (shared)
   ============================================ */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--grad-brand);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-accent); }
.btn-outline {
  border: 1px solid var(--rlb-border-strong);
  color: var(--rlb-ink);
  background: var(--rlb-surface);
}
.btn-outline:hover { border-color: var(--rlb-accent); color: var(--rlb-accent); }

/* ============================================
   Hero — terang, gradasi oranye ke putih
   ============================================ */
.hero {
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 78% -12%, rgba(255, 106, 0, 0.22), transparent 62%),
    radial-gradient(760px 460px at 4% 108%, rgba(208, 2, 4, 0.07), transparent 62%),
    var(--grad-wash);
}
/* Grid teknis + garis diagonal: motif futuristik */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 88%);
  mask-image: linear-gradient(180deg, black, transparent 88%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -6%;
  width: 44%; height: 150%;
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.12), rgba(208, 2, 4, 0.05));
  transform: skewX(-14deg);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rlb-accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 3px;
  background: var(--grad-brand);
}
.hero h1 { margin-bottom: 4px; }
.hero-sub { font-size: 1.05rem; max-width: 480px; margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 0.72rem;
  color: var(--rlb-ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Foto breaker di hero — pakai PNG hasil cutout (latar sudah transparan) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;   /* dua breaker berdiri di garis tanah yang sama */
  gap: 26px;
  min-height: 480px;
  padding-bottom: 10px;
}
/* Satu cahaya untuk seluruh kelompok, bukan per breaker */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 480px; height: 440px;
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.34), transparent 66%);
  z-index: 0;
  animation: glowPulse 2.6s linear infinite;
}
/* Label ditaruh di bawah gambar (bukan absolut di atasnya) supaya
   tidak menabrak badan breaker sebelahnya. */
.hero-product {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-product-figure {
  position: relative;
  display: inline-block;
  line-height: 0;
}
/* 140F model lebih besar dari 68S — tingginya dibedakan agar proporsinya jujur */
.hero-product-a .hero-product-img { height: 350px; }
.hero-product-b .hero-product-img { height: 430px; }
/* Hantaman bergantian: 140F menyusul setengah siklus di belakang 68S */
.hero-product-b .hero-product-img,
.hero-product-b .hero-impact::before,
.hero-product-b .hero-impact::after { animation-delay: -1.3s; }
.hero-product-img {
  height: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(15, 17, 21, 0.3));
  transform-origin: 50% 0%;
  animation: breakerPound 2.6s cubic-bezier(0.3, 0, 0.2, 1) infinite;
}

/* ============================================
   Animasi hantaman breaker
   Satu siklus 2.6s: tiga pukulan beruntun (32% / 43% / 54%) lalu jeda.
   Semua elemen di bawah memakai durasi & titik waktu yang sama supaya
   gelombang kejut dan debu jatuh tepat saat pahat menghantam.
   ============================================ */
@keyframes breakerPound {
  0%, 26% { transform: translateY(0) rotate(0deg); }
  32%     { transform: translateY(20px) rotate(0.6deg); }
  37%     { transform: translateY(5px) rotate(0deg); }
  43%     { transform: translateY(20px) rotate(0.6deg); }
  48%     { transform: translateY(5px) rotate(0deg); }
  54%     { transform: translateY(20px) rotate(0.6deg); }
  60%     { transform: translateY(3px) rotate(0deg); }
  70%     { transform: translateY(0) rotate(0deg); }
  100%    { transform: translateY(0) rotate(0deg); }
}

/* Titik hantam mengikuti posisi pahat, yang beda tiap model */
.hero-impact {
  position: absolute;
  left: 33%; bottom: 6px;
  width: 0; height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-product-b .hero-impact { left: 46%; }
/* Gelombang kejut */
.hero-impact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 150px; height: 150px;
  margin: -75px 0 0 -75px;
  border: 2px solid var(--rlb-accent);
  border-radius: 50%;
  opacity: 0;
  animation: shockwave 2.6s linear infinite;
}
@keyframes shockwave {
  0%, 31% { opacity: 0;   transform: scale(0.08); }
  32%     { opacity: 0.9; transform: scale(0.14); }
  41%     { opacity: 0;   transform: scale(0.85); }
  42%     { opacity: 0;   transform: scale(0.08); }
  43%     { opacity: 0.9; transform: scale(0.14); }
  52%     { opacity: 0;   transform: scale(0.85); }
  53%     { opacity: 0;   transform: scale(0.08); }
  54%     { opacity: 1;   transform: scale(0.14); }
  68%     { opacity: 0;   transform: scale(1.2); }
  100%    { opacity: 0;   transform: scale(1.2); }
}
/* Debu terlempar */
.hero-impact::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 130px; height: 34px;
  margin: -17px 0 0 -65px;
  background: radial-gradient(ellipse, rgba(208, 2, 4, 0.28), rgba(255, 106, 0, 0.14) 45%, transparent 72%);
  filter: blur(5px);
  opacity: 0;
  animation: dustPuff 2.6s linear infinite;
}
@keyframes dustPuff {
  0%, 31% { opacity: 0;   transform: scale(0.3); }
  33%     { opacity: 0.9; transform: scale(0.9); }
  44%     { opacity: 0.5; transform: scale(1.25); }
  55%     { opacity: 0.9; transform: scale(1); }
  72%     { opacity: 0;   transform: scale(1.6); }
  100%    { opacity: 0;   transform: scale(1.6); }
}
/* Cahaya oranye ikut berdenyut tiap hantaman (dipasang di .hero-visual::before) */
@keyframes glowPulse {
  0%, 30% { opacity: 0.75; }
  33%     { opacity: 1; }
  57%     { opacity: 1; }
  72%     { opacity: 0.75; }
  100%    { opacity: 0.75; }
}
.hero-product-tag {
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: var(--glow-accent);
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* Lingkaran tekanan: dipusatkan di belakang breaker sebagai bidikan HUD */
.hero-pressure-graphic {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================
   Sections (shared)
   ============================================ */
.section { padding: 90px 0; background: var(--rlb-surface); position: relative; }
/* Ritme selang-seling supaya halaman punya jeda visual */
.section-categories,
.section-mission,
.section-why,
.section-related { background: var(--rlb-surface-alt); }
/* Section putih di antaranya bisa hilang (mis. tidak ada produk unggulan),
   yang bikin dua section abu nempel jadi satu blok. Kasih batas kalau itu terjadi. */
:is(.section-categories, .section-mission, .section-why, .section-related)
+ :is(.section-categories, .section-mission, .section-why, .section-related) {
  border-top: 1px solid var(--rlb-border);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rlb-accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 3px;
  background: var(--grad-brand);
}

/* About brief */
.about-brief-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: center; }
.link-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--rlb-accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.link-arrow:hover { color: var(--rlb-red); }
.vision-card {
  background: var(--rlb-accent-tint);
  border-left: 3px solid var(--rlb-accent);
  padding: 28px;
  border-radius: var(--radius);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.category-card {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* Bar gradasi yang menyapu masuk saat hover */
.category-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}
.category-card:hover::before,
.product-card:hover::before { transform: scaleX(1); }
.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--rlb-accent);
  box-shadow: var(--shadow-lg);
}
.category-card-index {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}
.category-card h3 { margin: 10px 0 6px; font-size: 1.02rem; }
.category-card p { font-size: 0.85rem; }

/* Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.product-card {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
/* Foto breaker/attachment bentuknya tinggi (portrait). Kartu 4:3 + cover
   bikin gambar dipotong ~65%. Kotak + contain supaya produk utuh terlihat. */
.product-card-image {
  aspect-ratio: 1/1;
  background: var(--rlb-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  border-bottom: 1px solid var(--rlb-border);
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card-placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rlb-border-strong);
  font-weight: 700;
}
.product-card-body { padding: 18px; }
.product-card-category {
  font-size: 0.66rem;
  color: var(--rlb-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.product-card h3 { font-size: 0.98rem; margin: 8px 0 4px; }
.product-card-model {
  font-size: 0.8rem;
  color: var(--rlb-ink-dim);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.section-cta { text-align: center; margin-top: 48px; }

/* Mission */
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.mission-item {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.mission-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}
.mission-item p { margin-top: 12px; font-size: 0.92rem; color: var(--rlb-ink); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.service-card {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  border-left: 3px solid var(--rlb-accent);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card-large { padding: 36px; }

/* CTA Banner — blok gradasi penuh */
.section-cta-banner {
  background: var(--grad-brand);
  position: relative;
  overflow: hidden;
}
.section-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.section-cta-banner h2 { color: white; }
.section-cta-banner p { color: rgba(255, 255, 255, 0.9); }
.cta-banner-inner { text-align: center; max-width: 660px; margin: 0 auto; position: relative; z-index: 1; }
.cta-banner-inner p { margin: 16px 0 32px; }
.section-cta-banner .btn-primary {
  background: white;
  color: var(--rlb-accent-dark);
  box-shadow: 0 8px 24px rgba(15, 17, 21, 0.18);
}
.section-cta-banner .btn-primary:hover { background: white; color: var(--rlb-red); }

/* ============================================
   Page hero (sub-pages) — versi ringkas dari hero
   ============================================ */
.page-hero {
  padding: 56px 0 46px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 85% -30%, rgba(255, 106, 0, 0.2), transparent 62%),
    var(--grad-wash);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 92%);
  mask-image: linear-gradient(180deg, black, transparent 92%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-desc { margin-top: 12px; max-width: 600px; }
.breadcrumb {
  font-size: 0.74rem;
  color: var(--rlb-ink-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.breadcrumb a { color: var(--rlb-ink-muted); }
.breadcrumb a:hover { color: var(--rlb-accent); }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.about-vision-mission { display: flex; flex-direction: column; gap: 20px; }
.vm-card {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.vm-vision { border-left: 3px solid var(--rlb-accent); }
.vm-mission { border-left: 3px solid var(--rlb-red); }
.vm-mission ol { display: flex; flex-direction: column; gap: 10px; counter-reset: mission; }
.vm-mission ol li {
  counter-increment: mission;
  font-size: 0.9rem;
  padding-left: 30px;
  position: relative;
  color: var(--rlb-ink-muted);
}
.vm-mission ol li::before {
  content: counter(mission, decimal-leading-zero);
  position: absolute; left: 0; top: 3px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rlb-accent);
}

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.why-card {
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.why-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

/* ============================================
   Products listing page
   ============================================ */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.products-sidebar { align-self: start; }
.search-box { display: flex; margin-bottom: 32px; }
.search-box input {
  flex: 1;
  padding: 11px 14px;
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border-strong);
  border-right: none;
  color: var(--rlb-ink);
  border-radius: var(--radius) 0 0 var(--radius);
}
.search-box input:focus { outline: none; border-color: var(--rlb-accent); }
.search-box button {
  padding: 11px 18px;
  background: var(--grad-brand);
  color: white;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.products-sidebar h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rlb-ink-dim);
  margin-bottom: 14px;
}
.category-filter-list { display: flex; flex-direction: column; gap: 4px; }
.category-filter-list a {
  display: block;
  padding: 10px 12px;
  font-size: 0.86rem;
  border-radius: var(--radius);
  color: var(--rlb-ink-muted);
  border-left: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.category-filter-list li.active a {
  background: var(--rlb-accent-tint);
  color: var(--rlb-accent-dark);
  border-left-color: var(--rlb-accent);
  font-weight: 600;
}
.category-filter-list a:hover { background: var(--rlb-accent-tint); color: var(--rlb-accent-dark); }

.products-meta { font-size: 0.8rem; color: var(--rlb-ink-dim); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.products-main .product-grid { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }

.pagination { display: flex; gap: 8px; margin-top: 40px; }
.pagination a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rlb-ink-muted);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--rlb-accent); color: var(--rlb-accent); }
.pagination a.active { background: var(--grad-brand); border-color: transparent; color: white; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--rlb-ink-dim); }

/* ============================================
   Product detail page
   ============================================ */
.page-hero-product { padding-bottom: 36px; }
.product-detail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; margin-bottom: 40px; }
.product-detail-image {
  /* Putih, bukan abu: foto produk berlatar putih supaya tidak
     terlihat sebagai kotak putih yang menempel di atas panel abu. */
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-placeholder {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--rlb-border-strong);
  font-weight: 700;
}
.product-model-badge {
  display: inline-block;
  background: var(--grad-brand);
  color: white;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.product-detail-desc { font-size: 1rem; margin-bottom: 28px; }
.product-actions { display: flex; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }

.spec-table-wrapper h3 { margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--rlb-border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 13px 8px; font-size: 0.9rem; }
.spec-key {
  color: var(--rlb-ink-dim);
  width: 50%;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.spec-value {
  color: var(--rlb-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* Isi galeri berupa poster portrait (768x1376). Kotak 1:1 + cover memotong
   judul di atas dan banner model di bawah — justru bagian pentingnya.
   Tile portrait + contain menampilkan poster utuh. */
.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: 1px solid var(--rlb-border);
  background: var(--rlb-surface-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, 0.82), transparent);
  color: white;
  font-size: 0.78rem;
  padding: 10px 12px 8px;
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 17, 21, 0.95);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  z-index: 1000;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox p { color: white; margin-top: 16px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 32px; }
.contact-info-list li { display: flex; flex-direction: column; gap: 4px; }
.contact-info-list strong {
  font-size: 0.72rem;
  color: var(--rlb-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.contact-map { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rlb-border); }
.contact-map iframe { width: 100%; height: 240px; border: none; }

.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.74rem;
  color: var(--rlb-ink-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-row .required { color: var(--rlb-accent); }
.form-row input, .form-row textarea {
  padding: 13px 14px;
  background: var(--rlb-surface);
  border: 1px solid var(--rlb-border-strong);
  border-radius: var(--radius);
  color: var(--rlb-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--rlb-accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
}
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.88rem; }
.alert-success { background: var(--rlb-green-tint); border: 1px solid var(--rlb-green); color: #4A7305; }
.alert-error { background: #FDECEC; border: 1px solid var(--rlb-red); color: var(--rlb-red-dark); }
.alert-error ul { padding-left: 18px; list-style: disc; }

/* ============================================
   Footer — satu-satunya area gelap, penutup halaman
   ============================================ */
.site-footer {
  background: var(--rlb-carbon);
  color: var(--rlb-white);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 88% 0%, rgba(255, 106, 0, 0.16), transparent 65%);
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 0 24px 50px; }
.footer-brand p { margin: 14px 0 4px; color: var(--rlb-white); font-weight: 600; }
.brand-logo-footer { height: 48px; width: auto; }
.footer-tagline { color: var(--rlb-ink-dim) !important; font-weight: 400 !important; font-size: 0.85rem; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  line-height: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.footer-social a svg { display: block; width: 34px; height: 34px; }
.footer-social a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rlb-accent-light);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; font-size: 0.88rem; color: #A8B0BC; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(244, 246, 248, 0.1); padding: 20px 0; }
.footer-bottom p { text-align: center; font-size: 0.78rem; color: var(--rlb-ink-dim); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--rlb-surface);
    padding: 20px 24px;
    border-bottom: 1px solid var(--rlb-border);
    box-shadow: var(--shadow-md);
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-pressure-graphic { display: none; }
  .hero::after { display: none; }
  .about-brief-grid, .about-grid, .product-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .products-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row-group { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .category-grid, .product-grid, .products-main .product-grid, .mission-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }

  /* Logo + nama + tombol + hamburger jadi terlalu padat di layar kecil */
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; padding: 12px 16px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-logo { height: 34px; }
  .brand-text strong { font-size: 0.8rem; line-height: 1.2; }
  .brand-text small { display: none; }
  .btn-cta { padding: 9px 12px; font-size: 0.68rem; letter-spacing: 0.04em; }
  .hero { padding-top: 44px; }
  .section { padding: 60px 0; }
}
