  /* ==========================================================================
   PT ETERNO VENTURA FARRELINDO - OFFICIAL CORPORATE STYLESHEET
   Theme: Modern Monochrome Corporate Luxury (High Contrast Black, White & Platinum)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
/* Light theme is the default (no [data-theme] attribute needed) */
:root,
:root[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-subtle: #e8edf3;
  --bg-glass: rgba(248, 250, 252, 0.85);

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

  --accent-white: #0f172a;
  --accent-white-hover: #1e293b;
  --accent-platinum: #1e293b;
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --accent-glow: rgba(220, 38, 38, 0.12);
  --hero-scrim: 226, 232, 240;
  --footer-bg: #eef2f7;
  --badge-scrim: rgba(226, 232, 240, 0.85);

  --tint-02: rgba(15, 23, 42, 0.025);
  --tint-03: rgba(15, 23, 42, 0.035);
  --tint-04: rgba(15, 23, 42, 0.045);
  --tint-05: rgba(15, 23, 42, 0.055);
  --tint-06: rgba(15, 23, 42, 0.06);
  --tint-08: rgba(15, 23, 42, 0.08);
  --tint-10: rgba(15, 23, 42, 0.1);
  --tint-16: rgba(15, 23, 42, 0.14);
  --tint-30: rgba(15, 23, 42, 0.28);
  --glow-primary-sm: rgba(15, 23, 42, 0.12);
  --glow-primary-lg: rgba(15, 23, 42, 0.18);

  --border-subtle: var(--tint-08);
  --border-medium: var(--tint-16);
  --border-highlight: var(--tint-30);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 25px rgba(15, 23, 42, 0.06);

  --logo-symbol: url('../assets/images/logo-mono-black.png');

  --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --container-max: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Theme Overrides --- */
:root[data-theme="dark"] {
  --bg-body: #08090a;
  --bg-surface: #101214;
  --bg-card: #15181c;
  --bg-card-hover: #1c2026;
  --bg-subtle: #22272f;
  --bg-glass: rgba(16, 18, 20, 0.85);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #8695a8;
  --text-inverse: #0f172a;

  --accent-white: #ffffff;
  --accent-white-hover: #e2e8f0;
  --accent-platinum: #e2e8f0;
  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --accent-glow: rgba(239, 68, 68, 0.15);
  --hero-scrim: 8, 9, 10;
  --footer-bg: #040506;
  --badge-scrim: rgba(8, 9, 10, 0.85);

  --tint-02: rgba(255, 255, 255, 0.02);
  --tint-03: rgba(255, 255, 255, 0.03);
  --tint-04: rgba(255, 255, 255, 0.04);
  --tint-05: rgba(255, 255, 255, 0.05);
  --tint-06: rgba(255, 255, 255, 0.06);
  --tint-08: rgba(255, 255, 255, 0.08);
  --tint-10: rgba(255, 255, 255, 0.1);
  --tint-16: rgba(255, 255, 255, 0.16);
  --tint-30: rgba(255, 255, 255, 0.3);
  --glow-primary-sm: rgba(255, 255, 255, 0.15);
  --glow-primary-lg: rgba(255, 255, 255, 0.25);

  --border-subtle: var(--tint-08);
  --border-medium: var(--tint-16);
  --border-highlight: var(--tint-30);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px var(--tint-08);

  --logo-symbol: url('../assets/images/logo-mono-white.png');
}

/* Smooth cross-theme transition for the core surfaces */
body,
.navbar.scrolled,
.nav-menu,
.bg-transition {
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Subtle background texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 15% 15%, var(--tint-02) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.015) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* --- Accessibility: visually hidden but screen-reader accessible --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Accessibility: visible focus states for keyboard users --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-white);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6.5rem 0;
  position: relative;
  scroll-margin-top: 88px;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--tint-05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-platinum);
  margin-bottom: 1.25rem;
}

.section-tag.accent {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
}

/* Light mode: buat highlight "Rekam Jejak & Klien" jadi gelap agar lebih terbaca */
:root[data-theme="light"] .section-tag.accent {
  border-color: var(--border-medium);
  color: var(--text-primary);
  background: var(--tint-05);
}

/* Peta Google Maps (embed) di bagian kontak */
.contact-map {
  margin-top: 0.85rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
}

/* Tombol "Lihat di Google Maps" di bagian kontak */
.contact-maps-btn {
  margin-top: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-white);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--glow-primary-sm);
}

.btn-primary:hover {
  background-color: var(--accent-white-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-primary-lg);
}

.btn-secondary {
  background-color: var(--tint-05);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: var(--tint-10);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-outline {
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  flex-shrink: 0;
}

.logo-icon {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Show the icon matching the current theme, hide the other */
.logo-icon-light {
  display: none;
}

:root[data-theme="light"] .logo-icon-dark {
  display: none;
}

:root[data-theme="light"] .logo-icon-light {
  display: block;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- Dark / Light Mode Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tint-05);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--tint-10);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.theme-icon {
  display: none;
}

/* Dark mode: show moon icon */
:root[data-theme="dark"] .theme-icon-moon {
  display: block;
}

/* Light mode (default): show sun icon */
:root:not([data-theme="dark"]) .theme-icon-sun {
  display: block;
}

/* Dark blurred backdrop behind the off-canvas mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* The hero follows the active site theme: a dark photographic backdrop in
   dark mode, and a bright backdrop with dark text in light mode. */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem 0;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero_building.jpeg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.25) contrast(1.2);
  z-index: 0;
}

/* Light mode: brighten the backdrop so the hero reads light. */
:root[data-theme="light"] .hero-backdrop {
  filter: grayscale(100%) brightness(1.05) contrast(1.05);
}

.hero-backdrop-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(var(--hero-scrim), 0.7) 0%, 
    rgba(var(--hero-scrim), 0.85) 60%, 
    rgba(var(--hero-scrim), 1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: var(--tint-06);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-platinum);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.accent-text {
  color: var(--accent-red);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

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

/* --- Metrics Grid --- */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   ABOUT & VISI MISI SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  filter: grayscale(80%) contrast(1.1);
  transition: var(--transition-normal);
}

.about-image-main:hover {
  filter: grayscale(20%) contrast(1.05);
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 260px;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tint-08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-text h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-cta {
  margin-top: 1.5rem;
}

.about-badge-title {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-white);
}

.about-badge-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.visi-misi-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

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

.vm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--tint-05);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
}

.vm-card h4 {
  font-size: 1.35rem;
}

.vm-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.misi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.misi-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.misi-list li svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--accent-white);
}

/* ==========================================================================
   SERVICES SECTION (LAYANAN UTAMA)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

.service-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(90%) contrast(1.1);
  transition: all var(--transition-slow);
}

.service-card:hover .service-img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--badge-scrim);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-platinum);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  color: var(--accent-white);
}

/* Supporting service banner */
.supporting-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.supporting-banner-content h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.supporting-banner-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   WHY CHOOSE US (KEUNGGULAN PERUSAHAAN)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-box:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--tint-05);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  margin-bottom: 1.25rem;
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   QHSE & SOP SECTION
   ========================================================================== */
.qhse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.qhse-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.qhse-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qhse-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.qhse-item {
  background: var(--tint-02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.qhse-item h5 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--accent-platinum);
}

.qhse-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PORTFOLIO & GOVERNMENT CLIENTS SECTION
   ========================================================================== */
.client-logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.client-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.client-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.client-chip svg {
  color: var(--accent-white);
}

.client-chip-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* When a real logo is shown, hide the placeholder building icon in that chip */
.client-chip:has(.client-chip-logo:not([hidden])) .client-chip-icon {
  display: none;
}

/* Table Controls */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.table-search-box {
  display: flex;
  align-items: center;
  background: var(--tint-04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
}

.table-search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
}

.table-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--accent-white);
  color: var(--text-inverse);
  border-color: var(--accent-white);
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.portfolio-table th {
  padding: 1rem 1.25rem;
  background: var(--tint-03);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-medium);
}

.portfolio-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.portfolio-table tr:hover td {
  background: var(--tint-02);
  color: var(--text-primary);
}

.portfolio-table td.job-name {
  font-weight: 700;
  color: var(--text-primary);
}

.table-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.table-summary-bar strong {
  color: var(--accent-white);
  font-size: 1.1rem;
}

/* ==========================================================================
   DOCUMENTATION GALLERY (FOTO KEGIATAN)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

/* Foto tambahan per lokasi tidak ditampilkan sebagai kartu terpisah di grid;
   perannya hanya menyimpan data agar bisa dinavigasi (next/prev) di dalam
   lightbox saat kartu utama lokasi tersebut dibuka. */
.gallery-item-extra {
  display: none;
}

.gallery-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.1);
  transition: all var(--transition-slow);
}

.gallery-item:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  font-weight: 700;
  /* Overlay background is a fixed dark scrim in both themes, so the text
     must stay light regardless of the active theme's text color tokens. */
  color: #f8fafc;
}

.gallery-sub {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* ==========================================================================
   ORGANIZATIONAL TEAM (STRUKTUR ORGANISASI)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: end;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.team-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem auto;
  border: 2px solid var(--border-medium);
  background: var(--tint-05);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-credential {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   LEGALITY & COMPLIANCE SECTION
   ========================================================================== */
.legal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.legal-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.legal-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.legal-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.inaproc-qr {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.inaproc-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legal-badge-title {
  font-size: 1.15rem;
}

.legal-badge-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legal-badge-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.legal-badge-btn {
  width: 100%;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--tint-05);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info-lead {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--tint-04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-white);
  background: var(--tint-08);
}

.form-select {
  cursor: pointer;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

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

.btn-block {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
}

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

/* Logo di footer sedikit lebih besar dari navbar */
.footer .brand-symbol {
  height: 58px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-office-address {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-office-contact {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  /* Lebar tetap agar posisi tombol navigasi tidak ikut bergeser saat
     berpindah antar foto dengan orientasi/rasio yang berbeda-beda. */
  width: min(720px, 90vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
}

.lightbox-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 15, 15, 0.65);
  color: #f8fafc;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(15, 15, 15, 0.9);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: clamp(0.75rem, 4vw, 2.5rem);
}

.lightbox-next {
  right: clamp(0.75rem, 4vw, 2.5rem);
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

/* Floating WhatsApp Button (dinonaktifkan sementara di HTML) */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Floating Email Button */
.email-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent-white);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: all var(--transition-normal);
}

.email-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-white);
  color: var(--text-inverse);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* Nav collapses into an off-canvas drawer once the full menu no longer
   fits comfortably alongside the logo and CTA (roughly <1180px). */
@media (max-width: 1180px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .about-grid,
  .visi-misi-cards,
  .services-grid,
  .features-grid,
  .qhse-grid,
  .legal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .supporting-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero-cta-group .btn {
    width: 100%;
  }

  .table-header-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .table-search-box {
    max-width: 100%;
  }
}
