/*
Theme Name: Sinditek Custom Industrial
Theme URI: https://sinditek.com
Author: PT Sinergi Dinamika Teknologi Engineering Team
Author URI: https://sinditek.com
Description: Tema mandiri B2B Industrial Laboratory & Environmental Instrumentation untuk PT Sinergi Dinamika Teknologi (Sinditek). Zero-plugin architecture dengan Custom Post Type Form Submissions, Native SEO, Native Security, dan Katalog Spesifikasi Teknis.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: theme-custom
*/

:root {
  --brand-petroleum-navy: #0B192C;
  --brand-steel-blue: #1E3E62;
  --brand-safety-amber: #F59E0B;
  --brand-amber-hover: #D97706;
  --surface-clean-white: #FFFFFF;
  --surface-lab-slate: #F8FAFC;
  --surface-slate-muted: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-on-navy: #FFFFFF;
  --text-muted-on-navy: #CBD5E1;
  --status-success-bg: #ECFDF5;
  --status-success-text: #065F46;
  --status-success-border: #A7F3D0;
  --status-error-bg: #FEF2F2;
  --status-error-text: #991B1B;
  --status-error-border: #FECACA;
  --whatsapp-dark: #075E54;
  --whatsapp-dark-hover: #054C44;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition-fast: 160ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-lab-slate);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-steel-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

a:hover {
  color: var(--brand-petroleum-navy);
}

button,
input[type="submit"],
input[type="button"],
select,
summary,
[role="button"] {
  cursor: pointer;
  font-family: inherit;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

:focus-visible {
  outline: 2px solid var(--brand-safety-amber);
  outline-offset: 2px;
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background-color: var(--brand-safety-amber);
  color: var(--brand-petroleum-navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 2vw + 0.85rem, 2rem);
}

h3 {
  font-size: clamp(1.15rem, 1.2vw + 0.8rem, 1.375rem);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  max-width: 70ch;
}

.mono-code,
code,
pre,
.spec-code,
.count-badge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-muted-on-navy);
  border-bottom: 1px solid var(--brand-steel-blue);
  font-size: 0.8125rem;
}

.top-utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.5rem;
}

.utility-info-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-utility-bar a {
  color: var(--text-on-navy);
  text-decoration: none;
  font-weight: 600;
}

.top-utility-bar a:hover {
  color: var(--brand-safety-amber);
  text-decoration: underline;
}

.utility-wa-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-safety-amber) !important;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--surface-clean-white);
  border-bottom: 1px solid var(--border-subtle);
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding-block: 0.625rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--brand-petroleum-navy);
  min-height: 44px;
  min-width: 0;
  flex-shrink: 1;
}

@media (min-width: 1024px) {
  .brand-identity {
    flex-shrink: 0;
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--brand-petroleum-navy);
  color: var(--brand-safety-amber);
  border: 2px solid var(--brand-steel-blue);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 800;
  color: var(--brand-petroleum-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.25;
}

.header-cta-btn {
  display: none !important;
}

@media (min-width: 640px) {
  .header-cta-btn {
    display: inline-flex !important;
  }
}

/* Primary Navigation */
.primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.5rem 0.5rem;
  color: var(--text-primary);
  font-size: 0.84375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background-color: var(--surface-slate-muted);
  color: var(--brand-petroleum-navy);
}

.nav-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brand-safety-amber);
}

/* Dropdown Submenu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 1100;
  box-shadow: 0 10px 25px -5px rgba(11, 25, 44, 0.12);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.nav-dropdown a:hover {
  background-color: var(--surface-lab-slate);
  color: var(--brand-steel-blue);
}

/* Header Search & CTA Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search-form {
  display: none;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface-lab-slate);
  overflow: hidden;
}

@media (min-width: 768px) {
  .header-search-form {
    display: flex;
  }
}

.header-search-input {
  border: 0;
  background: transparent;
  padding: 0.5rem 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
  width: 130px;
  min-height: 40px;
}

@media (min-width: 1280px) {
  .header-search-input {
    width: 145px;
  }
}

.header-search-input:focus {
  outline: none;
  background-color: var(--surface-clean-white);
}

.header-search-btn {
  border: 0;
  border-left: 1px solid var(--border-subtle);
  background-color: var(--brand-steel-blue);
  color: var(--text-on-navy);
  min-width: 44px;
  min-height: 42px;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-search-btn:hover {
  background-color: var(--brand-petroleum-navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  max-width: 100%;
}

@media (min-width: 480px) {
  .btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.btn:active {
  transform: translateY(1px);
}

.btn-amber {
  background-color: var(--brand-safety-amber);
  color: var(--brand-petroleum-navy);
  border-color: var(--brand-safety-amber);
}

.btn-amber:hover {
  background-color: var(--brand-amber-hover);
  border-color: var(--brand-amber-hover);
  color: var(--brand-petroleum-navy);
}

.btn-navy {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-on-navy);
  border-color: var(--brand-petroleum-navy);
}

.btn-navy:hover {
  background-color: var(--brand-steel-blue);
  border-color: var(--brand-steel-blue);
  color: var(--text-on-navy);
}

.btn-outline {
  background-color: var(--surface-clean-white);
  color: var(--brand-petroleum-navy);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--surface-slate-muted);
  border-color: var(--brand-steel-blue);
  color: var(--brand-petroleum-navy);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-on-navy);
  border-color: var(--border-strong);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--brand-safety-amber);
  border-color: var(--brand-safety-amber);
}

.btn-whatsapp {
  background-color: var(--whatsapp-dark);
  color: var(--text-on-navy);
  border-color: var(--whatsapp-dark);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark-hover);
  border-color: var(--whatsapp-dark-hover);
  color: var(--text-on-navy);
}

/* Mobile Menu Button & Drawer */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background-color: var(--surface-lab-slate);
  color: var(--brand-petroleum-navy);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background-color: var(--surface-clean-white);
  border-bottom: 2px solid var(--brand-steel-blue);
  padding: 1rem 0 1.5rem;
}

.mobile-drawer.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-drawer,
  .mobile-drawer.is-open {
    display: none;
  }
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--surface-slate-muted);
}

.mobile-nav-list a:hover {
  background-color: var(--surface-lab-slate);
}

.mobile-search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-search-form input {
  flex: 1;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-on-navy);
  border-bottom: 3px solid var(--brand-safety-amber);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background-color: var(--brand-steel-blue);
  color: var(--brand-safety-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--text-on-navy);
  margin-bottom: 1rem;
}

.hero-lead {
  color: var(--text-muted-on-navy);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  max-width: 64ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-specs-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-steel-blue);
}

@media (min-width: 640px) {
  .hero-specs-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-spec-label {
  font-size: 0.75rem;
  color: var(--text-muted-on-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-spec-value {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-safety-amber);
}

.hero-visual-card {
  background-color: var(--surface-clean-white);
  color: var(--text-primary);
  border: 2px solid var(--brand-steel-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-image-frame {
  aspect-ratio: 4 / 3;
  background-color: var(--surface-Clean-White);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual-caption {
  padding: 1rem 1.25rem;
  background-color: var(--surface-lab-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */
.section-block {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-subtle);
}

.section-white {
  background-color: var(--surface-clean-white);
}

.section-slate {
  background-color: var(--surface-lab-slate);
}

.section-navy {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-on-navy);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-steel-blue);
  margin-bottom: 0.35rem;
}

.section-navy .section-eyebrow {
  color: var(--brand-safety-amber);
}

.section-navy h2,
.section-navy h3 {
  color: var(--text-on-navy);
}

/* 3 Industrial Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.pillar-card {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--brand-steel-blue);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.pillar-card-featured {
  border-top-color: var(--brand-safety-amber);
}

.pillar-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-steel-blue);
  background-color: var(--surface-slate-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.pillar-spec-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pillar-spec-list li {
  margin-bottom: 0.4rem;
}

/* Technical Category Matrix */
.category-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

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

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

.category-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  min-height: 64px;
}

.category-tile:hover {
  border-color: var(--brand-steel-blue);
  background-color: var(--surface-lab-slate);
}

.category-tile-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--brand-petroleum-navy);
}

.category-tile-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  background-color: var(--brand-steel-blue);
  color: var(--text-on-navy);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Equipment Product Cards Grid */
.instrument-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.instrument-card {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.instrument-card:hover {
  border-color: var(--brand-steel-blue);
}

.instrument-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--surface-clean-white);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}

.instrument-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instrument-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--surface-lab-slate);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: var(--brand-steel-blue);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.instrument-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.instrument-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.625rem;
}

.instrument-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background-color: var(--surface-slate-muted);
  color: var(--brand-steel-blue);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.instrument-badge-amber {
  background-color: var(--brand-petroleum-navy);
  color: var(--brand-safety-amber);
  border-color: var(--brand-petroleum-navy);
}

.instrument-card-title {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 0.625rem;
}

.instrument-card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.instrument-card-title a:hover {
  color: var(--brand-steel-blue);
  text-decoration: underline;
}

.instrument-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1;
}

.instrument-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}

.instrument-card-actions .btn {
  padding: 0.5rem 0.625rem;
  font-size: 0.8125rem;
  width: 100%;
}

/* Technical Specification Table (DESIGN.md Section 5B) */
.spec-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-block: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--surface-clean-white);
}

table,
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}

table thead th,
.spec-table thead th,
table tr:first-child th {
  background-color: var(--brand-steel-blue);
  color: var(--text-on-navy);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--brand-petroleum-navy);
}

table th,
table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

table tbody tr:nth-child(even) {
  background-color: var(--surface-lab-slate);
}

table tbody tr:nth-child(odd) {
  background-color: var(--surface-clean-white);
}

table td:nth-child(2),
.spec-table td.spec-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Native CPT Inquiry Form (`sinditek_form`) */
.sinditek-form-card {
  background-color: var(--surface-clean-white);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--brand-safety-amber);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-required {
  color: var(--status-error-text);
  margin-left: 0.15rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-steel-blue);
  background-color: var(--surface-clean-white);
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Honeypot anti-spam field */
.sinditek-hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Widget CAPTCHA (Turnstile/reCAPTCHA) lebarnya tetap 300-304px */
.sinditek-captcha {
  margin-bottom: 1.25rem;
  min-height: 65px;
}

/* Layar < 380px: kartu form lebih sempit dari widget, perkecil agar tidak meluber */
@media (max-width: 379px) {
  .sinditek-captcha > div {
    transform: scale(0.82);
    transform-origin: left top;
  }
}

/* UI States: Alert Boxes (Success, Error, Empty, Loading) */
.ui-state-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.ui-state-success {
  background-color: var(--status-success-bg);
  color: var(--status-success-text);
  border-color: var(--status-success-border);
}

.ui-state-error {
  background-color: var(--status-error-bg);
  color: var(--status-error-text);
  border-color: var(--status-error-border);
}

.ui-state-empty {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-strong);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-md);
}

.ui-state-loading {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background-color: var(--surface-slate-muted);
  color: var(--brand-petroleum-navy);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

.ui-state-loading.is-active {
  display: inline-flex;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background-color: var(--surface-clean-white);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list a {
  color: var(--brand-steel-blue);
  text-decoration: none;
  font-weight: 600;
}

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

/* Single Instrument Layout */
.single-instrument-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .single-instrument-layout {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

.instrument-content-card {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.instrument-gallery-stage {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 420px;
  overflow: hidden;
}

.instrument-gallery-stage img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}

.entry-content img {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-block: 1rem;
  background-color: var(--surface-clean-white);
  padding: 0.25rem;
}

/* Catalog Filter Bar & Pagination */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.catalog-sidebar {
  background-color: var(--surface-clean-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.filter-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.filter-category-list a:hover,
.filter-category-list a.is-active {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-on-navy);
}

.filter-category-list a.is-active .count-badge {
  background-color: var(--brand-safety-amber);
  color: var(--brand-petroleum-navy);
}

.pagination-nav {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  background-color: var(--surface-clean-white);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
}

.pagination-nav .page-numbers.current,
.pagination-nav .page-numbers:hover {
  background-color: var(--brand-petroleum-navy);
  color: var(--brand-safety-amber);
  border-color: var(--brand-petroleum-navy);
}

/* Footer */
.site-footer {
  background-color: var(--brand-petroleum-navy);
  color: var(--text-muted-on-navy);
  border-top: 4px solid var(--brand-safety-amber);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

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

.footer-heading {
  color: var(--text-on-navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--brand-steel-blue);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-muted-on-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-links a:hover {
  color: var(--brand-safety-amber);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--brand-steel-blue);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Floating Action Anchor (WhatsApp + Back to Top) */
.floating-actions {
  position: fixed;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .floating-actions {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

.floating-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  background-color: var(--whatsapp-dark);
  color: var(--text-on-navy);
  border: 1.5px solid var(--surface-clean-white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.22);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
  background-color: var(--whatsapp-dark-hover);
  color: var(--text-on-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 25, 44, 0.28);
}

.floating-wa-btn:active {
  transform: translateY(0);
}

.floating-wa-icon {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}

/* Mobile: Minimalist compact pill label */
.floating-wa-label-desktop {
  display: none;
}

.floating-wa-label-mobile {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

/* Desktop & Tablet: Expand to full informative label */
@media (min-width: 768px) {
  .floating-wa-btn {
    min-height: 46px;
    padding: 0.55rem 1.05rem;
    gap: 0.55rem;
    font-size: 0.875rem;
  }

  .floating-wa-icon {
    width: 20px;
    height: 20px;
  }

  .floating-wa-label-desktop {
    display: inline-block;
  }

  .floating-wa-label-mobile {
    display: none;
  }
}

.back-to-top-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--brand-petroleum-navy);
  color: var(--brand-safety-amber);
  border: 1px solid var(--brand-steel-blue);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.back-to-top-btn.is-visible {
  display: inline-flex;
}

/* Reduced Motion Respect */
@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;
  }
}

/* Print Stylesheet for Technical Specifications */
@media print {
  .top-utility-bar,
  .site-header,
  .floating-actions,
  .sinditek-form-card,
  .site-footer,
  .no-print {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
  }
  .single-instrument-layout {
    display: block;
  }
}
