/* ==========================================================================
   TUMBUH JAYA MULIA — PAGE SPECIFIC STYLES (css/pages.css)
   Clean White & Royal Blue Layouts
   ========================================================================== */

/* ==========================================================================
   SUBPAGE HEADER HERO BANNER
   ========================================================================== */
.subpage-hero {
  padding: 44px 0 32px;
  background: radial-gradient(ellipse at top center, rgba(219, 234, 254, 0.55) 0%, rgba(255, 255, 255, 0) 75%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.subpage-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.subpage-title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.25;
}

.subpage-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.62;
  max-width: 920px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.breadcrumb-nav a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   HOME PAGE: HERO INDUSTRIAL SLIDER / CAROUSEL (MATCHING INDUSTRIAL WORKSHOP)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0b1120;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 66vh;
  max-height: 650px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  z-index: 5;
}

.hero-slide-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-slide-subtitle-top {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #60a5fa;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-slide-desc {
  font-size: 1.15rem;
  font-weight: 500;
  color: #f1f5f9;
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Action Buttons */
.hero-slide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-hero-blue {
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 4px;
  border: 1px solid #0284c7;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-hero-blue:hover {
  background-color: #0369a1;
  border-color: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
  color: #ffffff;
}

.btn-hero-outline {
  background-color: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.btn-hero-outline:hover {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(2, 132, 199, 0.9);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 24px;
}

.slider-arrow-next {
  right: 24px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #38bdf8;
  border-color: #38bdf8;
  width: 30px;
  border-radius: 10px;
}

/* ==========================================================================
   BRAND PARTNERS SHOWCASE STRIP (GREYSCALE -> COLOR ON HOVER)
   ========================================================================== */
.brand-showcase-section {
  background-color: #ffffff;
  padding: 34px 0 28px;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 5;
}

.brand-showcase-header {
  margin-bottom: 24px;
}

.brand-showcase-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
  background: #f8fafc;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  display: inline-block;
}

.brand-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  max-width: 140px;
  height: 52px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brand-img {
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.40);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optical Size Balancing per Brand Logo */
.img-yaskawa {
  height: 22px;
  max-width: 125px;
}

.img-siemens {
  height: 38px;
  max-width: 130px;
}

.img-schneider {
  height: 34px;
  max-width: 135px;
}

.img-proface {
  height: 32px;
  max-width: 120px;
}

.img-omron {
  height: 21px;
  max-width: 115px;
}

.img-mitsubishi {
  height: 46px;
  max-width: 140px;
}

.img-fuji {
  height: 28px;
  max-width: 125px;
}

.img-delta {
  height: 25px;
  max-width: 120px;
}

.img-ab {
  height: 32px;
  max-width: 135px;
}

.img-fatek {
  height: 28px;
  max-width: 120px;
}

.img-ls {
  height: 24px;
  max-width: 125px;
}

.img-panasonic {
  height: 28px;
  max-width: 125px;
}

.img-abb {
  height: 24px;
  max-width: 95px;
}

.img-parker {
  height: 26px;
  max-width: 120px;
}

.brand-logo-item:hover .brand-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.10);
}

.compact-card-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.showcase-category-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 4px;
}

.pill-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.pill-emerald {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.compact-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.compact-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.compact-items-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
}

.compact-items-list li:hover {
  background: #ffffff;
  border-color: #bfdbfe;
}

.compact-items-list strong {
  display: block;
  font-size: 0.84rem;
  color: #0f172a;
  line-height: 1.3;
}

.compact-items-list small {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.3;
}

.bullet-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bullet-dot.bullet-cyan {
  background: #0284c7;
}

.compact-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  transition: var(--transition-smooth);
}

.compact-card-link:hover {
  color: #1e40af;
  transform: translateX(3px);
}

/* ==========================================================================
   METRICS STRIP
   ========================================================================== */
.metrics-strip {
  padding: 30px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.metrics-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.metric-box {
  text-align: center;
  padding: 8px 12px;
}

.metric-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.metric-desc {
  font-size: 0.86rem;
  color: #475569;
  margin-top: 6px;
  line-height: 1.35;
}

.metric-divider {
  width: 1px;
  height: 44px;
  background-color: #cbd5e1;
}

/* ==========================================================================
   PAGE SECTIONS & GRIDS
   ========================================================================== */
.page-section {
  padding: 70px 0;
}

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

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

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

.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 70px 0;
}

.calculator-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.calculator-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  margin-top: 36px;
  align-items: center;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.calc-current-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #bfdbfe;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 6px;
}

.results-card {
  background: #f8fafc;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.result-label {
  font-size: 0.9rem;
  color: #475569;
}

.result-big-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.02em;
  margin: 6px 0;
}

.result-period {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 24px;
}

.result-sub-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.sub-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.sub-label {
  color: #64748b;
}

.sub-value {
  color: #0f172a;
}

.text-success {
  color: #1d4ed8 !important;
}

.result-note {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.4;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 70px 0;
}

.faq-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: flex-start;
}

.faq-help-card {
  margin-top: 32px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.faq-help-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.faq-help-card p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.5;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
  border-color: #1d4ed8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   TENTANG KAMI SPECIFICS
   ========================================================================== */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.about-text-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.about-text-content p {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.value-card .value-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   KONTAK SPECIFICS
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-quick-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.contact-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  flex-shrink: 0;
}

.contact-quick-icon svg {
  width: 24px;
  height: 24px;
}

.contact-quick-detail h4 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-quick-detail p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.contact-quick-detail a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.form-success-banner {
  display: none;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (SUBPAGES & HERO)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container-split,
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-subtitle-compact,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-quick-trust,
  .hero-trust-badges {
    max-width: 650px;
    margin: 20px auto 0;
    justify-content: center;
  }

  .hero-right-hub {
    margin-top: 10px;
  }

  .subpage-title {
    font-size: 2.4rem;
  }

  .hero-dual-cards,
  .grid-2,
  .grid-3,
  .grid-4,
  .about-story-grid,
  .contact-layout-grid,
  .calculator-body,
  .faq-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slider-container {
    min-height: 480px;
    height: 480px;
    max-height: 500px;
    padding: 0;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
  }

  .hero-slide-content {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
  }

  .hero-slide-title {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 8px;
    gap: 4px;
  }

  .hero-slide-subtitle-top {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .hero-slide-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 auto 18px;
    max-width: 320px;
  }

  .hero-slide-actions {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    gap: 8px;
  }

  .btn-hero-blue,
  .btn-hero-outline {
    width: 100%;
    text-align: center;
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    background: rgba(15, 23, 42, 0.7);
  }

  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }

  .slider-arrow-prev {
    left: 8px;
  }

  .slider-arrow-next {
    right: 8px;
  }

  .slider-dots {
    bottom: 12px;
  }

  /* Brand Showcase Strip - 4 Brands per Row on Tablet/Mobile */
  .brand-showcase-section {
    padding: 22px 0 18px;
  }

  .brand-showcase-header {
    margin-bottom: 14px;
  }

  .brand-showcase-label {
    font-size: 0.66rem;
    padding: 4px 12px;
    letter-spacing: 0.06em;
  }

  .brand-logos-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 6px;
    align-items: center;
    justify-items: center;
  }

  .brand-logo-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: 38px;
    padding: 2px 4px;
  }

  .brand-img {
    max-width: 100%;
    max-height: 22px;
    height: auto;
  }

  .img-yaskawa { max-height: 15px; }
  .img-siemens { max-height: 22px; }
  .img-schneider { max-height: 20px; }
  .img-proface { max-height: 17px; }
  .img-omron { max-height: 14px; }
  .img-mitsubishi { max-height: 22px; }
  .img-fuji { max-height: 17px; }
  .img-delta { max-height: 15px; }
  .img-ab { max-height: 19px; }
  .img-fatek { max-height: 17px; }
  .img-ls { max-height: 15px; }
  .img-panasonic { max-height: 15px; }
  .img-abb { max-height: 19px; }
  .img-parker { max-height: 17px; }

  /* Metrics Strip Mobile (Compact 2x2 Grid) */
  .metrics-strip {
    padding: 18px 0;
  }

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

  .metric-divider {
    display: none;
  }

  .metric-box {
    padding: 12px 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  }

  .metric-number {
    font-size: 1.45rem;
    font-weight: 800;
  }

  .metric-desc {
    font-size: 0.76rem;
    line-height: 1.35;
    margin-top: 3px;
    color: #64748b;
  }

  .subpage-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .calculator-card {
    padding: 28px 18px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  /* Projects Portfolio Grid - 2 Cards per Row */
  .projects-portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 14px !important;
  }

  /* Core Values (Prinsip Kerja) - 3 Per Row */
  .values-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }

  .value-card {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .value-card .value-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .value-card h4 {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .value-card p {
    font-size: 0.76rem;
    line-height: 1.4;
    color: #64748b;
  }

  /* Testimonials Grid - 3 per row */
  .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  /* Featured Products Grid - 2 per row on Tablet */
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   PRODUCT CATALOG WITH SIDEBAR FILTERS & SEARCH
   ========================================================================== */
.catalog-section {
  padding: 40px 0 80px;
  background: #f8fafc;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

/* Mobile Filter Toggle Button */
.mobile-filter-btn {
  display: none;
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Sidebar Styles */
.catalog-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  position: sticky;
  top: 90px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset-filters {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: #eff6ff;
  color: #1e40af;
  text-decoration: underline;
}

/* Filter Groups (Accordions) */
.filter-group {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0 0 12px 0;
  font-size: 0.98rem;
  font-weight: 750;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.filter-group-header svg {
  transition: transform 0.25s ease;
  color: #64748b;
}

.filter-group.collapsed .filter-group-header svg {
  transform: rotate(-90deg);
}

.filter-group.collapsed .filter-group-body {
  display: none;
}

.filter-mini-search {
  position: relative;
  margin-bottom: 12px;
}

.filter-mini-search input {
  width: 100%;
  padding: 8px 32px 8px 12px;
  font-size: 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color 0.2s ease;
}

.filter-mini-search input:focus {
  outline: none;
  border-color: #1d4ed8;
  background: #ffffff;
}

.filter-mini-search svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.filter-options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-options-list::-webkit-scrollbar {
  width: 4px;
}

.filter-options-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #334155;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
  user-select: none;
}

.filter-checkbox-label:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.filter-checkbox-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-checkbox-left input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1d4ed8;
  cursor: pointer;
  border-radius: 4px;
}

.filter-count {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 100px;
}

/* Main Catalog Area */
.catalog-main {
  min-width: 0;
}

/* Top Search Bar */
.catalog-search-wrap {
  position: relative;
  margin-bottom: 20px;
}

.catalog-search-input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  font-size: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.catalog-search-input:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.catalog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.catalog-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
}

.catalog-search-clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.catalog-result-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

.catalog-result-count span {
  color: #1d4ed8;
}

.catalog-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.sort-select {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.sort-select:focus {
  border-color: #1d4ed8;
}

/* View Mode Switcher */
.view-switchers {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.view-btn {
  background: none;
  border: none;
  padding: 7px 10px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.view-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.view-btn.active {
  background: #eff6ff;
  color: #1d4ed8;
}

/* Active Filter Chips */
.active-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
}

.active-chip-remove {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.active-chip-remove:hover {
  background: #dbeafe;
}

/* Products Grid / List (Compact Marketplace 6 Kolom) */
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

@media (max-width: 1400px) {
  .catalog-products-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
}

@media (max-width: 1180px) {
  .catalog-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}

@media (max-width: 992px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .catalog-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

.catalog-products-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-products-grid.list-view .product-catalog-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
}

.catalog-products-grid.list-view .product-card-image-wrap {
  height: 100px;
  margin-bottom: 0;
}

.catalog-products-grid.list-view .product-catalog-card .card-action-wrap {
  margin-top: 0;
  width: 180px;
}

/* Catalog Product Card (Compact & Clean) */
.product-catalog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.product-catalog-card:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.1);
}

/* Product Card Cover Image */
.product-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px;
}

.product-card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.product-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #94a3b8;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.product-catalog-card:hover .product-card-cover-img {
  transform: scale(1.05);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-brand-tag {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.product-stock-badge {
  font-size: 0.72rem;
  font-weight: 650;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.product-specs-list li {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-specs-list .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Empty Results State */
.no-results-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  grid-column: 1 / -1;
  display: none;
}

.no-results-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: #94a3b8;
}

.no-results-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 8px;
}

.no-results-desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 420px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Catalog Pagination */
.catalog-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.pagination-info {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 650;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.page-btn svg {
  pointer-events: none;
}

.page-btn:hover:not(:disabled):not(.active) {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.page-btn.active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
}

.page-ellipsis {
  padding: 0 4px;
  color: #94a3b8;
  font-size: 0.88rem;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Styles for Catalog */
@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .mobile-filter-btn {
    display: flex;
  }

  .catalog-sidebar {
    display: none;
    position: static;
    margin-bottom: 24px;
  }

  .catalog-sidebar.show-mobile {
    display: block;
  }
}

@media (max-width: 640px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  /* 2-Column Marketplace Grid on Mobile */
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }

  .product-catalog-card {
    padding: 10px 8px 12px !important;
    border-radius: 12px !important;
  }

  .product-card-image-wrap {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    padding: 6px !important;
    margin-bottom: 6px !important;
  }

  .product-card-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .card-action-wrap {
    margin-top: 10px !important;
    gap: 6px !important;
  }

  .card-action-wrap .btn {
    padding: 7px 6px !important;
    font-size: 0.74rem !important;
  }

  .catalog-products-grid.list-view .product-catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-products-grid.list-view .product-catalog-card .card-action-wrap {
    width: 100%;
  }

  /* Mobile Catalog Pagination */
  .catalog-pagination-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    text-align: center;
  }

  .pagination-info {
    font-size: 0.78rem;
    color: #64748b;
  }

  .pagination-controls {
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
  }

  .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 0.84rem;
    border-radius: 9px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
/* Navigation Top Bar & Back Button */
.product-top-bar {
  padding: 14px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.product-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-back-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-back-catalog svg {
  color: #1d4ed8;
  transition: transform 0.25s ease;
}

.btn-back-catalog:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.12);
  transform: translateX(-4px);
}

.btn-back-catalog:hover svg {
  transform: translateX(-3px);
}

.product-breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: #64748b;
}

.trail-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.trail-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.trail-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.trail-current {
  color: #0f172a;
  font-weight: 750;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb-wrap {
  padding: 18px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: #64748b;
}

.breadcrumb-list a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.8rem;
}

.product-detail-section {
  padding: 40px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left: Gallery & Cover Image (Sticky on scroll) */
.product-gallery-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  align-self: start;
  z-index: 20;
}

.product-main-cover-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
  padding: 14px;
}

.product-main-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-main-cover-frame:hover .product-main-cover-img {
  transform: scale(1.04);
}

.photo-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

/* ==========================================================================
   PRODUCT IMAGE LIGHTBOX / CLEAN STANDARD VIEWER
   ========================================================================== */
.product-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 25, 0.94);
  user-select: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: zoom-out;
}

/* Header Bar */
.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 60%;
}

.lightbox-prod-title {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-counter-badge {
  font-size: 0.8rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lightbox-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-action-btn.lightbox-close-btn:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

/* Side Navigation Arrows */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: all 0.15s ease;
}

.lightbox-nav-btn.lightbox-nav-prev {
  left: 20px;
}

.lightbox-nav-btn.lightbox-nav-next {
  right: 20px;
}

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

/* Main Viewport Stage */
.lightbox-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 20;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.lightbox-stage.is-zoomed {
  cursor: grab;
}

.lightbox-stage.is-dragging,
.lightbox-img.is-dragging {
  cursor: grabbing !important;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  will-change: transform;
}

.lightbox-img.is-dragging {
  transition: none !important;
}

/* Lightbox Bottom Thumbnails */
.lightbox-bottom-thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50;
  max-width: 90vw;
  overflow-x: auto;
}

.lightbox-thumb-item {
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: #ffffff;
  padding: 2px;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.9;
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: #3b82f6;
  transform: scale(1.05);
}

/* Gallery Mini Thumbnails Strip */
.product-gallery-thumbnails {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.gallery-thumb-btn {
  width: 68px;
  height: 68px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.gallery-thumb-btn:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.gallery-thumb-btn.active {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2.5px rgba(29, 78, 216, 0.35);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* Product Gallery Contact Widget (Direct Inquiries) */
.product-gallery-contact-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.contact-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 6px;
}

.contact-box-header svg {
  color: #1d4ed8;
}

.contact-box-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
}

.contact-box-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prod-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.prod-contact-btn.btn-wa {
  background: #16a34a;
  color: #ffffff;
  border: 1px solid #15803d;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.prod-contact-btn.btn-wa:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.prod-contact-btn.btn-email {
  background: #f8fafc;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
}

.prod-contact-btn.btn-email:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.1);
}

.product-gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.product-guarantee-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.guarantee-badge-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

/* Right: Product Info & Specs */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
}

.product-meta-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.product-detail-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.product-detail-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

/* Specs Block */
.product-specs-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.product-specs-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  width: 38%;
  background: #f8fafc;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 600;
  vertical-align: middle;
}

/* Product Social Share Buttons Row */
.share-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.share-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.share-circle-btn:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.08);
}

.share-circle-btn.share-wa {
  background: #25d366;
}

.share-circle-btn.share-fb {
  background: #3b5998;
}

.share-circle-btn.share-copy {
  background: #64748b;
}

.share-copy-toast {
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  pointer-events: none;
  display: inline-block;
}

.share-copy-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.specs-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.specs-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Dedicated Product Description Box */
.product-desc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.product-desc-content {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
  white-space: pre-line;
  font-weight: 500;
}

/* Direct Action / WhatsApp CTA Box */
.product-cta-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-cta-text {
  font-size: 0.9rem;
  color: #1e40af;
  line-height: 1.5;
}

.product-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-gallery-card {
    position: static;
  }
  .product-detail-title {
    font-size: 1.6rem;
  }

  /* Mobile Catalog Layout */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-filter-btn {
    display: flex;
  }

  .catalog-sidebar {
    display: none;
    position: static;
    margin-bottom: 24px;
  }

  .catalog-sidebar.mobile-show {
    display: block;
    animation: mobileFilterOpen 0.25s ease-out;
  }

  @keyframes mobileFilterOpen {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   SMARTPHONE ULTRA-CLEAN RESPONSIVE STYLES (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Page Hero & Subpages */
  .subpage-hero {
    padding: 26px 0 20px;
  }

  .subpage-title {
    font-size: 1.35rem;
    line-height: 1.28;
    margin-bottom: 6px;
  }

  .subpage-desc {
    font-size: 0.82rem;
    line-height: 1.48;
    margin-top: 6px;
  }

  .page-section {
    padding: 44px 0;
  }

  /* Home Hero Slider Mobile (<480px) */
  .hero-slider-container {
    min-height: 460px;
    height: 460px;
    max-height: 480px;
    padding: 0;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
  }

  .hero-slide-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .hero-slide-subtitle-top {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .hero-slide-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0 auto 16px;
    max-width: 280px;
  }

  .hero-slide-actions {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
    gap: 8px;
  }

  .btn-hero-blue,
  .btn-hero-outline {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    text-align: center;
  }

  .slider-arrow {
    display: flex;
    width: 34px;
    height: 34px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    z-index: 15;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-arrow-prev {
    left: 6px;
  }

  .slider-arrow-next {
    right: 6px;
  }

  .slider-dots {
    bottom: 12px;
  }

  /* Brand Showcase Strip - 4 Brands per Row on Smartphone */
  .brand-logos-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 4px;
  }

  .brand-logo-item {
    height: 34px;
    padding: 2px 2px;
  }

  /* Grids & Cards */
  .grid-2,
  .grid-3:not(.projects-portfolio-grid):not(.testimonials-grid),
  .grid-4,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Featured Products Showcase (Home Page) - 2 Cards per row on Mobile */
  .featured-products-section {
    padding: 36px 0 !important;
  }

  .featured-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
    margin-top: 20px !important;
  }

  .featured-product-card {
    border-radius: 12px !important;
  }

  .featured-product-img-wrap {
    height: 135px !important;
    padding: 12px 8px !important;
  }

  .featured-product-body {
    padding: 10px 8px !important;
  }

  .featured-product-title {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
  }

  .featured-products-footer {
    margin-top: 20px !important;
  }

  .featured-all-btn {
    padding: 9px 24px !important;
    font-size: 0.84rem !important;
  }

  /* Projects Portfolio Grid - 2 Cards Per Row on Mobile */
  .projects-portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }

  .projects-portfolio-grid .project-card {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .projects-portfolio-grid .project-header-visual {
    height: 125px;
  }

  .projects-portfolio-grid .project-industry-tag {
    top: 6px;
    left: 6px;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .projects-portfolio-grid .project-body {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }

  .projects-portfolio-grid .project-title {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
    font-weight: 750;
  }

  .projects-portfolio-grid .project-summary {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .projects-portfolio-grid .project-impact-metrics {
    padding: 6px 4px;
    gap: 4px;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .projects-portfolio-grid .impact-item strong {
    font-size: 0.82rem;
    font-weight: 800;
  }

  .projects-portfolio-grid .impact-item span {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .projects-portfolio-grid .btn {
    padding: 6px 6px;
    font-size: 0.72rem;
    min-height: 32px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Service / Solution Glass Cards */
  .glass-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  /* About Page Text Content - Mobile Typography */
  .about-text-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
  }

  .about-text-content p {
    font-size: 0.88rem;
    line-height: 1.62;
    color: #475569;
    margin-bottom: 14px;
    text-align: left;
  }

  .about-story-grid {
    gap: 24px !important;
    margin-bottom: 40px !important;
  }

  /* Core Values (Prinsip Kerja) - 3 Per Row */
  .values-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .value-card {
    padding: 12px 6px !important;
    border-radius: 10px !important;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .value-card .value-icon {
    font-size: 1.35rem !important;
    margin-bottom: 6px !important;
  }

  .value-card h4 {
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    font-weight: 750 !important;
  }

  .value-card p {
    font-size: 0.65rem !important;
    line-height: 1.32 !important;
    color: #64748b !important;
  }

  /* Testimonials Grid - 3 per row on Mobile */
  .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .testimonials-grid .client-card {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }

  .testimonials-grid .client-quote {
    font-size: 0.64rem !important;
    line-height: 1.34 !important;
    margin-bottom: 8px !important;
    font-style: italic;
    color: #334155;
  }

  .testimonials-grid .client-author-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .testimonials-grid .client-avatar-placeholder {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.68rem !important;
    flex-shrink: 0 !important;
  }

  .testimonials-grid .client-info {
    flex: 1;
    min-width: 0;
  }

  .testimonials-grid .client-info strong {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    display: block;
    word-break: normal;
  }

  .testimonials-grid .client-info span {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
    display: block !important;
    white-space: normal !important;
    color: #64748b;
    word-break: normal;
  }

  .solution-title {
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .solution-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .solution-benefits {
    gap: 10px;
  }

  .benefit-content {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Catalog Product Cards */
  .product-card {
    padding: 16px;
    border-radius: 14px;
  }

  .product-card-img-wrap {
    height: 180px;
  }

  .product-card-title {
    font-size: 1.05rem;
  }

  .product-card-desc {
    font-size: 0.84rem;
  }

  .catalog-search-input {
    font-size: 0.92rem;
    padding: 12px 38px 12px 42px;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .catalog-toolbar-actions {
    justify-content: space-between;
    width: 100%;
  }

  .sort-select {
    flex: 1;
    font-size: 0.84rem;
  }

  /* Contact Page */
  .contact-quick-item {
    padding: 16px;
    gap: 14px;
    border-radius: 12px;
  }

  .contact-quick-icon {
    width: 42px;
    height: 42px;
  }

  .contact-quick-detail h4 {
    font-size: 0.98rem;
  }

  .contact-quick-detail p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .contact-form-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 11px 14px;
  }

  /* Product Detail Page */
  .product-main-image-wrap {
    height: 260px;
  }

  .product-detail-title {
    font-size: 1.35rem;
  }

  .product-cta-btns {
    flex-direction: column;
  }

  .product-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .share-action-row {
    flex-wrap: wrap;
  }
}


