/* ==========================================================================
   CV. TEKNIK JAYA UTAMA - Main Stylesheet
   Modern Corporate & Industrial Design System
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Design Tokens & CSS Custom Properties --- */
:root {
  /* Brand Core Colors */
  --primary-900: #07101e;
  --primary-800: #0b192c;
  --primary-700: #122844;
  --primary-600: #1a3960;
  --primary-500: #1e3e62;
  --primary-400: #2b5484;
  --primary-100: #e5edf7;
  --primary-50:  #f0f5fc;

  /* Accent Safety Orange (Industrial) */
  --accent-600: #e05300;
  --accent-500: #ff6b00;
  --accent-400: #ff8533;
  --accent-300: #ffa566;
  --accent-100: #ffe8d6;
  --accent-50:  #fff5eb;

  /* Tech Cyan Accent */
  --cyan-500: #00a8cc;
  --cyan-400: #29c5e6;
  --cyan-100: #e0f7fc;

  /* Neutrals (Light Theme Default) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(226, 232, 240, 0.8);
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 4px 16px -2px rgba(11, 25, 44, 0.08), 0 2px 6px -1px rgba(11, 25, 44, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(11, 25, 44, 0.12), 0 4px 12px -2px rgba(11, 25, 44, 0.06);
  --shadow-xl: 0 20px 48px -6px rgba(11, 25, 44, 0.16), 0 8px 20px -4px rgba(11, 25, 44, 0.08);
  --shadow-orange: 0 8px 24px -4px rgba(255, 107, 0, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Theme Overrides --- */
[data-theme="dark"] {
  --bg-body: #070d18;
  --bg-surface: #0c1829;
  --bg-surface-elevated: #112239;
  --bg-surface-subtle: #091322;
  --bg-glass: rgba(12, 24, 41, 0.88);
  --border-glass: rgba(30, 58, 98, 0.6);
  --border-subtle: #192e4a;
  --border-strong: #27456d;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070d18;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 20px 48px -6px rgba(0, 0, 0, 0.7);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* --- Scroll Progress Bar (Modern CSS animation-timeline with JS fallback) --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-500), #ff9900, var(--cyan-500));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 1001;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    #scroll-progress {
      animation: grow-progress auto linear;
      animation-timeline: scroll();
    }
  }
}

/* --- Modern Header & Navbar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary-800);
}

[data-theme="dark"] .brand-logo {
  color: #ffffff;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-logo .brand-badge {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-100);
  color: var(--accent-600);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-theme="dark"] .brand-logo .brand-badge {
  background: rgba(255, 107, 0, 0.2);
  color: var(--accent-400);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-500);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-theme-toggle:hover {
  background: var(--bg-surface-elevated);
  color: var(--accent-500);
  border-color: var(--accent-400);
  transform: rotate(15deg);
}

.btn-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(255, 107, 0, 0.45);
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
}

.btn-navy {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
  background: var(--accent-50);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(255, 107, 0, 0.12);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* --- Section Formatting --- */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-surface-subtle);
}

.section-navy {
  background: linear-gradient(145deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: #ffffff;
}

.section-navy .section-desc,
.section-navy .text-secondary {
  color: #94a3b8;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-500);
  background: var(--accent-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--accent-100);
}

[data-theme="dark"] .section-tag {
  background: rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-navy .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(0, 168, 204, 0.06) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 107, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.hero-pill-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--primary-900);
}

[data-theme="dark"] .hero-title {
  color: #ffffff;
}

.hero-title .text-gradient-orange {
  background: linear-gradient(135deg, var(--accent-500) 0%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

/* Hero Key Stats */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

[data-theme="dark"] .stat-number {
  color: #ffffff;
}

.stat-number .stat-suffix {
  color: var(--accent-500);
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-main-card:hover .hero-img-wrap img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  backdrop-filter: blur(12px);
  animation: float-badge 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: -2s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--accent-100);
  color: var(--accent-600);
}

.floating-icon.blue {
  background: var(--primary-100);
  color: var(--primary-600);
}

.floating-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.floating-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CEO WELCOME & PROFIL SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.ceo-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.ceo-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #e2e8f0;
  margin-bottom: 20px;
}

.ceo-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-signature-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}

.ceo-info h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-900);
}

[data-theme="dark"] .ceo-info h4 {
  color: #ffffff;
}

.ceo-info span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ceo-sig-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: contrast(120%);
}

[data-theme="dark"] .ceo-sig-img {
  filter: invert(1) brightness(1.2);
}

.about-text-content .lead-quote {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-surface);
  border-left: 4px solid var(--accent-500);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  font-style: italic;
}

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

.pillar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: all var(--transition-normal);
}

.pillar-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-md);
}

.pillar-box .pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

[data-theme="dark"] .pillar-box .pillar-icon {
  background: rgba(255, 107, 0, 0.15);
  color: var(--accent-400);
}

.pillar-box h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.pillar-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   VISION, MISSION & CORE VALUES
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.vm-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-500), var(--primary-500));
}

.vm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.vm-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 14px;
}

.vm-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-lg);
}

.value-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-400);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
  opacity: 0.85;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SERVICES & WHAT WE DO
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-xl);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-orange);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-tagline {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-500);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-highlights {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.service-highlights li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent-500);
  margin-top: 3px;
}

/* ==========================================================================
   INTERACTIVE PRODUCT & COMPONENT CATALOG
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-400);
  color: var(--accent-500);
}

.filter-btn.active {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-lg);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-surface-subtle);
  cursor: pointer;
}

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

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-500);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.product-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.product-card:hover .product-view-btn {
  opacity: 1;
  transform: scale(1);
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.spec-tag {
  font-size: 0.74rem;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.product-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   LEGALITY & BUSINESS LICENSING SECTION
   ========================================================================== */
.legal-banner-card {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 40px;
  border: 1px solid var(--primary-700);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}

.legal-banner-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-banner-info p {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.legal-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-verified-pill svg {
  color: #22c55e;
}

.legal-cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.legal-cta-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.legal-cta-box p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* Legal Documents Grid */
.legal-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.legal-doc-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.legal-doc-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-lg);
}

.doc-preview-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-surface-subtle);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

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

.legal-doc-card:hover .doc-preview-thumb img {
  transform: scale(1.05);
}

.doc-overlay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.doc-info-body {
  padding: 18px;
  flex-grow: 1;
}

.doc-info-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.doc-number-code {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-500);
  background: var(--accent-50);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 8px;
}

[data-theme="dark"] .doc-number-code {
  background: rgba(255, 107, 0, 0.15);
}

.doc-institution {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.doc-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* KBLI Accordion / Directory Table */
.kbli-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.kbli-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
}

.kbli-header h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kbli-badge-count {
  font-size: 0.8rem;
  background: var(--accent-100);
  color: var(--accent-600);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.kbli-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
}

.kbli-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.kbli-pill-item:hover {
  border-color: var(--accent-400);
  background: var(--bg-surface-elevated);
}

.kbli-code-badge {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary-700);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.kbli-pill-text {
  font-size: 0.86rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   REQUEST FOR QUOTATION (RFQ) & WHATSAPP GENERATOR
   ========================================================================== */
.rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.rfq-info-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.rfq-features {
  margin: 28px 0;
}

.rfq-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.rfq-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

[data-theme="dark"] .rfq-feature-icon {
  background: rgba(255, 107, 0, 0.2);
  color: var(--accent-400);
}

.rfq-feature-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.rfq-feature-text p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* RFQ Form Card */
.rfq-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
}

.rfq-form-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.rfq-form-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1.5px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: var(--bg-surface);
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

.btn-whatsapp-send {
  width: 100%;
  padding: 14px 20px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
}

.btn-whatsapp-send:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   CONTACT, ADDRESS & INTERACTIVE MAP
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.contact-item-card:hover {
  border-color: var(--accent-400);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-50);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon-bubble {
  background: rgba(255, 107, 0, 0.15);
  color: var(--accent-400);
}

.contact-info-content h5 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-content a,
.contact-info-content p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.contact-info-content a:hover {
  color: var(--accent-500);
}

/* Map / Visual Card */
.contact-map-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.map-visual-header {
  position: relative;
  height: 280px;
  background: #cbd5e1;
}

.map-visual-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-body-details {
  padding: 24px;
}

.map-body-details h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.map-body-details p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-900);
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid var(--primary-700);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-500);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-400);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: var(--accent-400);
}

/* ==========================================================================
   MODAL LIGHTBOX (Document & Image Viewer)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.modal-header h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.btn-modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-height: 60vh;
  overflow: hidden;
}

.modal-image-container img {
  max-height: 55vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.modal-desc-box {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: var(--bg-surface-subtle);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary-900);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  border-left: 4px solid var(--accent-500);
  animation: slideInToast 0.3s ease-out;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
