/* ==========================================================================
   PT. INSTING TEKNO SINERGI (INSTECHCOM) — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Minimal Corporate, Clean, Modern Industrial Technology
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Primary Colors (Derived from Instechcom Logo) */
  --primary: #D81A2D;
  --primary-hover: #BF1323;
  --primary-active: #9E0E1B;
  --primary-subtle: rgba(216, 26, 45, 0.08);
  --primary-glow: rgba(216, 26, 45, 0.35);
  --primary-border: rgba(216, 26, 45, 0.25);

  /* Accent Highlight Colors */
  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  --accent-orange: #EA580C;

  /* Dark Theme / Dark Sections */
  --dark-bg: #070D18;
  --dark-surface: #0E1626;
  --dark-surface-2: #162035;
  --dark-border: #1E2D48;
  --dark-text: #F8FAFC;
  --dark-text-muted: #94A3B8;

  /* Neutral Light Palette */
  --bg-white: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --border-light: #E2E8F0;
  --border-card: #EAEFF5;

  /* Status Colors */
  --success: #10B981;
  --success-subtle: #ECFDF5;
  --warning: #F59E0B;
  --warning-subtle: #FFFBEB;
  --info: #0284C7;
  --info-subtle: #F0F9FF;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1240px;
  --header-height: 92px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-primary: 0 8px 20px -2px rgba(216, 26, 45, 0.4);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* --- Accessibility & Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@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;
  }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.75rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
  border-block: 1px solid var(--border-card);
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

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

.section-dark .text-muted {
  color: var(--dark-text-muted);
}

/* Section Headers */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-kicker::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-dark .section-kicker {
  color: #FF5A6B;
}

.section-dark .section-kicker::before {
  background-color: #FF5A6B;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-primary:active {
  background-color: var(--primary-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-subtle);
  transform: translateY(-2px);
}

/* Styled for Dark Hero Background (Matches Reference Screenshot) */
.btn-outline-hero {
  background-color: rgba(14, 22, 38, 0.65);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-hero:hover {
  background-color: #FFFFFF;
  color: var(--dark-bg);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--dark-bg);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

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

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION (LOGO 2X & RIGHT-ALIGNED NAV)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.is-scrolled {
  height: 78px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

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

/* 2x Enlarged Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 72px; /* 2x enlarged */
  width: auto;
  object-fit: contain;
  transition: all var(--transition-base);
}

.site-header.is-scrolled .brand-logo-img {
  height: 56px;
}

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

/* Right-aligned Navigation */
.nav-container {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding-block: 0.5rem;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

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

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  margin-left: auto;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   HERO SECTION & CAROUSEL (LOCKED FINAL SETTINGS: PURE DISSOLVE & STATIC SCALE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark-bg);
}

/* Background Carousel Container */
.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s ease;
  overflow: hidden;
  z-index: 1;
}

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

/* [LOCKED] Full Width & Height Background Photo with Static Scale & Pure Dissolve */
.hero-bg-slide .hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  filter: saturate(1.1) brightness(1.02);
  transform: scale(1.0);
  transform-origin: center left;
}

/* Dark Gradient Overlay (Locked Settings) */
.hero-backdrop-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
              rgba(7, 13, 24, 0.94) 0%, 
              rgba(7, 13, 24, 0.88) 32%, 
              rgba(7, 13, 24, 0.55) 54%, 
              rgba(7, 13, 24, 0.1) 75%, 
              transparent 100%),
              linear-gradient(180deg, 
              rgba(7, 13, 24, 0.25) 0%, 
              transparent 20%, 
              transparent 80%, 
              rgba(7, 13, 24, 0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content-box {
  max-width: 820px;
  display: flex;
  flex-direction: column;
}

/* Kicker in Gold/Orange */
.hero-kicker-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Big Bold Headline */
.hero-title {
  color: #FFFFFF;
  letter-spacing: -0.025em;
  font-size: clamp(2.35rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

/* Body Text */
.hero-description {
  font-size: 1.0625rem;
  color: #F1F5F9;
  line-height: 1.68;
  margin-bottom: 2rem;
  max-width: 720px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* CTA Buttons Row - Single Horizontal Line on Desktop */
.hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-cta-group .btn {
  white-space: nowrap;
  padding: 0.85rem 1.4rem;
}

/* Bottom Service Line - Single Horizontal Line on Desktop */
.hero-checklist-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.hero-service-item {
  display: inline-flex;
  align-items: center;
  color: #F8FAFC;
  letter-spacing: -0.01em;
}

.hero-bullet-sep {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1rem;
  margin-inline: 0.15rem;
}

/* Hero Carousel Indicators */
.hero-carousel-dots {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 4;
}

.hero-dot {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-base);
}

.hero-dot.is-active {
  width: 46px;
  background-color: var(--accent-gold);
}

.hero-dot:hover:not(.is-active) {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   TRUST INDICATORS BAR
   ========================================================================= */
.trust-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding-block: 2.25rem;
  box-shadow: var(--shadow-xs);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.trust-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.trust-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.trust-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

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

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  background-color: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
  max-width: 260px;
}

.about-badge-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.about-badge-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-principles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.principle-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.principle-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.principle-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.principle-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  padding: 1.75rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-base);
}

.problem-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-icon-wrap {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background-color: #FEF2F2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.problem-body h4 {
  font-size: 1.0625rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.problem-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.problem-solution-bar {
  background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.problem-solution-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.problem-solution-text svg {
  color: #34D399;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==========================================================================
   CORE SOLUTIONS SECTION
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.solution-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.solution-card:hover .solution-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
}

.solution-icon-box svg {
  width: 26px;
  height: 26px;
}

.solution-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.solution-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.solution-card:hover .solution-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SELECTED CAPABILITIES SECTION (EDITORIAL & VISUAL SHOWCASE)
   ========================================================================== */
/* ==========================================================================
   SELECTED CAPABILITIES SECTION (EDITORIAL & VISUAL SHOWCASE)
   ========================================================================== */
/* ==========================================================================
   SELECTED CAPABILITIES SECTION (EDITORIAL & CAROUSEL SHOWCASE)
   ========================================================================== */
.capabilities-carousel-wrapper {
  margin-bottom: 2.5rem;
}

/* Category Nav Tabs Header */
.capabilities-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}

.capabilities-carousel-nav::-webkit-scrollbar {
  display: none;
}

.cap-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cap-nav-tab:hover {
  color: var(--primary);
}

.cap-nav-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.cap-tab-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Carousel Slides Container */
.capabilities-carousel-slides {
  position: relative;
  min-height: 400px;
}

.capabilities-featured-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.capabilities-featured-slide.is-active {
  display: block;
  opacity: 1;
  animation: capSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.capabilities-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.capabilities-featured:hover {
  box-shadow: var(--shadow-md);
}

.capabilities-featured-media {
  position: relative;
  min-height: 380px;
  background-color: #070D18;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.capabilities-featured-media::after {
  content: "🔍 Klik untuk melihat foto utuh";
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(6px);
  color: #F8FAFC;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 5;
}

.capabilities-featured-media:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.capabilities-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capabilities-featured-media:hover .capabilities-featured-img {
  transform: scale(1.025);
}

.capabilities-featured-img--contain {
  object-fit: contain;
  padding: 0.75rem;
  background-color: #070D18;
}

.capabilities-featured-img--erp {
  object-fit: cover;
  object-position: top left;
  background-color: #070D18;
}

.capabilities-featured-content {
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Software Dev & ERP Interactive Mockup Showcase */
.software-dev-showcase {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: radial-gradient(circle at 80% 20%, #111D33 0%, #060B14 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

.software-dev-showcase::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.software-mockup-window {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.software-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(30, 41, 59, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-window-controls {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dot.red { background-color: #EF4444; }
.mockup-dot.yellow { background-color: #F59E0B; }
.mockup-dot.green { background-color: #10B981; }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-badge-live {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.software-mockup-body {
  padding: 0.9rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.75rem;
}

.mockup-erp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mockup-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 0.55rem;
}

.mockup-stat-label {
  font-size: 0.65rem;
  color: #94A3B8;
  display: block;
  margin-bottom: 0.15rem;
}

.mockup-stat-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #F8FAFC;
}

.mockup-stat-growth {
  font-size: 0.62rem;
  color: #10B981;
  font-weight: 600;
  margin-left: 0.2rem;
}

.mockup-android-preview {
  background: rgba(11, 19, 43, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.android-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #38BDF8;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.3rem;
  margin-bottom: 0.35rem;
}

.android-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: #E2E8F0;
  padding: 0.2rem 0;
}

.android-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}

.software-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--primary);
  color: #FFFFFF;
}

/* Industrial Automation & Surveillance Showcase */
.industrial-automation-showcase {
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  background: radial-gradient(circle at 75% 25%, #0F172A 0%, #030712 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.industrial-automation-showcase::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.automation-mockup-window {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.automation-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.automation-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  padding: 0.75rem 0.85rem 0.45rem 0.85rem;
}

.automation-kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.45rem 0.5rem;
}

.automation-kpi-label {
  font-size: 0.625rem;
  color: #94A3B8;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.automation-kpi-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #F8FAFC;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.automation-kpi-status {
  font-size: 0.6rem;
  font-weight: 600;
}
.automation-kpi-status.green { color: #10B981; }
.automation-kpi-status.amber { color: #F59E0B; }
.automation-kpi-status.red { color: #EF4444; }

.automation-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem 0.75rem 0.85rem;
}

.automation-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
}

.automation-feed-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #E2E8F0;
  font-weight: 600;
}

.automation-feed-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.automation-feed-badge.normal {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.automation-feed-badge.alert {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  animation: pulseAmber 2s infinite;
}

@keyframes pulseAmber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Carousel Prev/Next & Dots Controls */
.capabilities-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.cap-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.cap-ctrl-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cap-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cap-dot {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background-color: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cap-dot.is-active {
  width: 44px;
  background-color: var(--primary);
}

.capabilities-featured-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.capabilities-featured-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.capabilities-featured-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.capabilities-featured-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  font-weight: 500;
  border-left: 3px solid var(--accent-gold);
  padding-left: 0.75rem;
}

.erp-modules-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.capabilities-list-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cap-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  background-color: var(--bg-subtle);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.cap-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
}

/* 4-Column Balanced Grid (4 + 4 = 8 Cards) */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.capability-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.capability-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.capability-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.capability-card:hover .capability-icon {
  background-color: var(--primary);
  color: #FFFFFF;
}

.capability-icon svg {
  width: 20px;
  height: 20px;
}

.capability-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
}

.capability-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================================
   CARA KERJA (5-STEP PROCESS TIMELINE)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-bottom: 2.5rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.process-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 6px var(--bg-white), var(--shadow-sm);
}

.process-step h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.process-footer-note {
  background-color: var(--bg-alt);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  text-align: center;
}

.process-footer-note svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   WHY INSTECHCOM SECTION (DARK CORPORATE)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background-color: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.why-card:hover {
  background-color: var(--dark-surface-2);
  border-color: rgba(255, 90, 107, 0.4);
  transform: translateY(-2px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(216, 26, 45, 0.15);
  color: #FF5A6B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--dark-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   TECHNOLOGY WE WORK WITH (BRAND ECOSYSTEM)
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.tech-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100px;
  transition: all var(--transition-base);
}

.tech-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.tech-logo-img {
  max-height: 40px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.tech-card:hover .tech-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.tech-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   COMPANIES WE HAVE SUPPORTED (CLIENTS)
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.client-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  min-height: 105px;
  padding: 1.5rem 1.25rem;
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 26, 45, 0.3);
  box-shadow: var(--shadow-md);
}

.client-logo-img {
  max-height: 52px;
  max-width: 145px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   FAQ SECTION (INTERACTIVE ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(216, 26, 45, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
  border-color: rgba(216, 26, 45, 0.45);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.faq-title {
  flex: 1;
  line-height: 1.45;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-item.is-open .faq-icon {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 1400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.faq-answer-inner p {
  margin-bottom: 0.85rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul {
  margin: 0.75rem 0 1rem 1.5rem;
  list-style: disc;
}

.faq-answer-inner li {
  margin-bottom: 0.35rem;
  color: var(--text-body);
  line-height: 1.6;
}

.faq-answer-inner strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-card {
  background: linear-gradient(135deg, #0B1120 0%, #172554 50%, #0B1120 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216, 26, 45, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.final-cta-title {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 1.25rem;
}

.final-cta-desc {
  font-size: 1.0625rem;
  color: var(--dark-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.final-cta-badges {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #CBD5E1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-body h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-card-body p, 
.contact-card-body a {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-card-body a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

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

.form-status-alert {
  display: none;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-status-alert.is-success {
  display: block;
  background-color: var(--success-subtle);
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status-alert.is-error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #070B14;
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94A3B8;
}

.footer-col h4 {
  font-size: 0.9375rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.875rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #94A3B8;
}

.footer-contact-list svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: #94A3B8;
}

/* ==========================================================================
   FLOATING ACTIONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

.float-btn-wa {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.float-btn-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.float-btn-wa svg {
  width: 28px;
  height: 28px;
}

.btn-scroll-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.btn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-scroll-top:hover {
  background-color: var(--bg-alt);
  color: var(--primary);
}

.btn-scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (360px, 390px, 768px, 1024px, 1366px, 1920px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-bg-slide .hero-bg-media {
    width: 100%;
  }

  .hero-backdrop-gradient {
    background: linear-gradient(180deg, rgba(7, 13, 24, 0.8) 0%, rgba(7, 13, 24, 0.94) 100%);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .capabilities-featured,
  .capabilities-featured--reverse {
    grid-template-columns: 1fr;
  }

  .capabilities-featured--reverse .capabilities-featured-media {
    order: 1;
  }

  .capabilities-featured--reverse .capabilities-featured-content {
    order: 2;
  }

  .capabilities-featured-media {
    min-height: 280px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-timeline::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .brand-logo-img {
    height: 52px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-cta-group {
    flex-wrap: wrap;
  }

  .hero-checklist-row {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.5rem 1rem;
  }

  .hero-carousel-dots {
    bottom: 1.25rem;
    right: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .problem-solution-bar {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .problem-solution-text {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-checklist-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-checklist-row .hero-bullet-sep {
    display: none;
  }

  .final-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   IMAGE PREVIEW LIGHTBOX MODAL
   ========================================================================== */
.img-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.img-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.img-lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: #0B132B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-lightbox-modal.is-open .img-lightbox-container {
  transform: scale(1);
}

.img-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(7, 13, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.img-lightbox-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.img-lightbox-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.img-lightbox-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.img-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.img-lightbox-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.img-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.img-lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.img-lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  min-height: 300px;
  max-height: calc(94vh - 140px);
  background-color: #050912;
  overflow: auto;
}

.img-lightbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.img-lightbox-img {
  max-width: 100%;
  max-height: calc(94vh - 160px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
  user-select: none;
}

.img-lightbox-img.is-zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.img-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(7, 13, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.img-lightbox-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.img-lightbox-nav.prev {
  left: 1.5rem;
}

.img-lightbox-nav.next {
  right: 1.5rem;
}

.img-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  background: rgba(7, 13, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #94A3B8;
}

.img-lightbox-footer kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #CBD5E1;
  font-family: monospace;
}

@media (max-width: 768px) {
  .img-lightbox-nav {
    display: none;
  }
  .img-lightbox-container {
    max-height: 96vh;
  }
  .img-lightbox-header {
    padding: 0.75rem 1rem;
  }
  .img-lightbox-title {
    font-size: 0.9375rem;
  }
  .img-lightbox-content {
    padding: 0.5rem;
  }
}
