/* ==========================================================================
   KASTURI PERKASA SDN. BHD. (1507921-K)
   Executive Dark UI — Minimal, Visual & Authoritative
   ========================================================================== */


:root {
  --bg-950: #060a0f;
  --bg-900: #0a1018;
  --bg-850: #0f1722;
  --bg-800: #141f2e;
  --bg-750: #1a273a;

  --text-100: #f8fafc;
  --text-200: #e2e8f0;
  --text-300: #cbd5e1;
  --text-400: #94a3b8;

  --crimson-600: #9e1f28;
  --crimson-500: #bc2631;

  --brass-500: #c8a25a;
  --brass-400: #dfc088;

  --ok-green: #34d399;

  --line-subtle: rgba(255, 255, 255, 0.07);
  --line-card: rgba(255, 255, 255, 0.11);
  --line-brass: rgba(200, 162, 90, 0.35);
  --line-brass-strong: rgba(223, 192, 136, 0.65);

  --font-display: "Libre Baskerville", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1240px;
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.68);
}

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

/* Keyboard access and reduced-motion support */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  color: var(--bg-950);
  background: var(--brass-400);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(calc(-100% - 1rem));
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid var(--brass-400);
  outline-offset: 3px;
}
.form-note {
  margin: 0.55rem 0 1rem;
  color: var(--text-300);
  font-size: 0.84rem;
}
.form-note a {
  color: var(--brass-400);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-300);
  background-color: var(--bg-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

svg {
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-100);
  line-height: 1.2;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ==========================================================================
   CENTERED ICON BADGE
   ========================================================================== */
.icon-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200, 162, 90, 0.1);
  border: 1px solid rgba(200, 162, 90, 0.3);
  color: var(--brass-400);
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
}

.icon-badge > svg {
  width: 21px;
  height: 21px;
  display: block !important;
  margin: auto !important;
}

/* ==========================================================================
   HEADER & NAVIGATION (Clean & Uncluttered)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-card);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  flex-shrink: 0;
}

.brand-mark img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.brand-copy small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brass-400);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links > a:not(.btn) {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-200);
  border-radius: var(--radius-xs);
}

.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn)[aria-current="page"] {
  color: var(--brass-400);
}

.nav-links > .btn {
  margin-left: 0.6rem;
}

.nav-mobile-contact {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-card);
  background: var(--bg-800);
  border-radius: var(--radius-sm);
  color: var(--text-100);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   BUTTONS & SECTION HEADINGS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.7rem 1.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crimson-600);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--crimson-500);
  transform: translateY(-1px);
}

.btn-brass {
  background: var(--brass-500);
  color: var(--bg-950);
  font-weight: 800;
}

.btn-brass:hover {
  background: var(--brass-400);
  transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-dark {
  background: transparent;
  color: var(--text-100);
  border-color: var(--brass-500);
}

.btn-outline-light:hover,
.btn-outline-dark:hover {
  background: var(--brass-500);
  color: var(--bg-950);
}

.section {
  padding-block: clamp(4rem, 6.5vw, 5.75rem);
}

.section-head {
  margin-bottom: 2.5rem;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass-400);
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
}

.section-head p {
  margin-top: 0.65rem;
  font-size: 0.98rem;
  color: var(--text-300);
}

/* ==========================================================================
   HERO SECTION — Minimal, Commanding & Visual (No Text Clutter)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(500px, 72vh, 680px);
  display: flex;
  align-items: center;
  background-color: var(--bg-950);
  background-image:
    linear-gradient(90deg, rgba(6, 10, 15, 0.90) 0%, rgba(6, 10, 15, 0.72) 50%, rgba(6, 10, 15, 0.40) 100%),
    url("assets/service-photo-01.jpg");
  background-size: cover;
  background-position: center 34%;
  border-bottom: 2px solid var(--brass-500);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.hero-inner {
  max-width: 680px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  background: rgba(200, 162, 90, 0.14);
  border: 1px solid rgba(200, 162, 90, 0.45);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.16;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--brass-400);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-200);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ==========================================================================
   CREDENTIALS STRIP — 4 Clean Badges
   ========================================================================== */
.credentials-bar {
  background: var(--bg-850);
  border-bottom: 1px solid var(--line-card);
}

.credentials-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cred-cell {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cred-cell:last-child {
  border-right: 0;
}

.cred-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.cred-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-400);
  margin-top: 0.1rem;
}

/* ==========================================================================
   OUR SERVICES — Photo + Title Only (Exact Clean Showcase Style)
   ========================================================================== */
.services {
  background: var(--bg-950);
  border-bottom: 1px solid var(--line-subtle);
}

.service-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-item {
  position: relative;
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

.service-media {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05080d;
  overflow: hidden;
  border-bottom: 2px solid var(--brass-500);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-item:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  padding: 1.05rem 1.15rem;
  display: flex;
  align-items: center;
  min-height: 72px;
  background: var(--bg-850);
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.service-body h3 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.3;
}

.service-item:hover .service-body h3 {
  color: var(--brass-400);
}

/* ==========================================================================
   ABOUT SUMMARY — Clean 2-Column Visual + Concise Overview
   ========================================================================== */
.about {
  background: var(--bg-900);
  border-bottom: 1px solid var(--line-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.about-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-brass);
  box-shadow: var(--shadow-md);
}

.about-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-copy p {
  font-size: 1.02rem;
  color: var(--text-300);
  margin-bottom: 1.75rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-stat {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-left: 3px solid var(--brass-500);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xs);
}

.about-stat strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.about-stat small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brass-400);
  text-transform: uppercase;
}

/* ==========================================================================
   TRACK RECORD — 4 Visual LOA Proof Cards (No Redundant Text Table)
   ========================================================================== */
.track-record {
  background: var(--bg-850);
  border-bottom: 1px solid var(--line-subtle);
}

.track-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.track-header-row .section-head {
  margin-bottom: 0;
}

.project-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-proof-card {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-proof-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass-400);
}

.project-proof-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05080d;
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid var(--line-subtle);
}

.project-proof-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.project-proof-thumb span {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.22rem 0.55rem;
  background: rgba(6, 10, 15, 0.9);
  border: 1px solid var(--line-brass);
  color: var(--brass-400);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  border-radius: var(--radius-xs);
}

.project-proof-body {
  padding: 1rem 1.15rem;
}

.project-proof-body small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brass-400);
  margin-bottom: 0.2rem;
}

.project-proof-body strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

/* ==========================================================================
   SECTORS SERVED — Compact Icon + Title Grid Only
   ========================================================================== */
.industries {
  background: var(--bg-900);
  border-bottom: 1px solid var(--line-subtle);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.industry-card {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.industry-card:hover {
  border-color: var(--brass-400);
  transform: translateY(-2px);
}

.industry-card strong {
  font-size: 0.95rem;
  color: #ffffff;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  background: var(--bg-950);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

.contact-dl {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-dl-row {
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-dl-row dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 0.2rem;
}

.contact-dl-row dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-form {
  background: var(--bg-850);
  border: 1px solid var(--line-brass);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-200);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  background: var(--bg-950);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  color: var(--text-100);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass-400);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ok-green);
}

.form-status:empty {
  display: none;
}

/* ==========================================================================
   SUBPAGES: TENTANG KAMI & LAMPIRAN
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #060a0f 0%, #0f1722 100%);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  border-bottom: 2px solid var(--brass-500);
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-400);
  margin-bottom: 0.65rem;
}

.breadcrumbs a {
  color: var(--brass-400);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-300);
  max-width: 60ch;
}

.about-mission {
  background: var(--bg-900);
  border-bottom: 1px solid var(--line-subtle);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.mission-cards {
  display: grid;
  gap: 1rem;
}

.mission-card {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-left: 3px solid var(--brass-500);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.mission-card h3 {
  font-size: 1rem;
  color: var(--brass-400);
  margin-bottom: 0.35rem;
}

.leadership {
  background: var(--bg-950);
  border-bottom: 1px solid var(--line-subtle);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.leader-card {
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.leader-photo {
  aspect-ratio: 4 / 4.2;
  background: linear-gradient(180deg, #141f2e 0%, #060a0f 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 1rem;
  border-bottom: 2px solid var(--brass-500);
}

.leader-photo img {
  width: 78%;
  height: 92%;
  object-fit: contain;
  object-position: bottom center;
}

.leader-body {
  padding: 1.35rem;
}

.leader-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brass-400);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.leader-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
}

.leader-qual {
  font-size: 0.8rem;
  color: var(--text-400);
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-subtle);
}

.leader-highlights {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-300);
  display: grid;
  gap: 0.4rem;
}

.org-section,
.appendix-page {
  background: var(--bg-900);
}

.org-chart {
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.org-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.org-node {
  background: var(--bg-950);
  border: 1px solid var(--brass-500);
  border-radius: var(--radius-xs);
  padding: 0.8rem 1.4rem;
  min-width: 230px;
}

.org-node small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--brass-400);
  text-transform: uppercase;
}

.org-line {
  width: 2px;
  height: 22px;
  background: var(--brass-500);
}

.org-branches {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line-brass);
}

.org-branch {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-xs);
  padding: 1rem;
}

.org-branch h4 {
  font-size: 0.86rem;
  color: var(--brass-400);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-subtle);
}

.org-branch ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.78rem;
  display: grid;
  gap: 0.28rem;
}

.appendix-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-card);
  background: var(--bg-850);
  color: var(--text-300);
}

.filter-btn[aria-pressed="true"] {
  background: var(--crimson-600);
  color: #ffffff;
  border-color: var(--crimson-500);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.doc-card {
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doc-card[hidden] {
  display: none !important;
}

.doc-thumb {
  aspect-ratio: 4 / 3;
  background: #05080d;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.doc-thumb img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.doc-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brass-400);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.doc-body h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.doc-body p {
  font-size: 0.82rem;
  color: var(--text-300);
  margin-bottom: 0.9rem;
  flex: 1;
}

.doc-actions {
  display: flex;
  gap: 0.5rem;
}

.doc-actions .btn {
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: 0.76rem;
  flex: 1;
}

/* ==========================================================================
   MODAL DIALOG & FOOTER
   ========================================================================== */
.doc-dialog {
  width: min(900px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid var(--line-brass);
  border-radius: var(--radius-md);
  background: var(--bg-900);
  color: #ffffff;
}

.doc-dialog::backdrop {
  background: rgba(3, 6, 10, 0.85);
}

.doc-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}

.doc-dialog-head {
  padding: 0.9rem 1.2rem;
  background: var(--bg-950);
  border-bottom: 1px solid var(--line-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.doc-dialog-meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brass-400);
}

.doc-dialog-actions {
  display: flex;
  gap: 0.5rem;
}

.doc-dialog-close {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  background: var(--bg-800);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-xs);
}

.doc-dialog-body {
  padding: 1.2rem;
  overflow: auto;
  display: flex;
  justify-content: center;
  background: #04070b;
}

.doc-dialog-body img {
  max-height: 75vh;
  width: auto;
}

.site-footer {
  background: var(--bg-950);
  border-top: 2px solid var(--brass-500);
  padding-top: 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-subtle);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
}

.footer-brand small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brass-400);
}

.footer-about p {
  font-size: 0.86rem;
  max-width: 44ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--brass-400);
}

.footer-bottom {
  min-height: 54px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  padding-block: 0.9rem;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brass-400);
}

.mobile-cta-bar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .credentials-table,
  .service-ledger,
  .project-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cred-cell:nth-child(2n) {
    border-right: 0;
  }
  .cred-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-subtle);
  }
  .leader-grid,
  .doc-grid,
  .org-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-900);
    border-bottom: 2px solid var(--brass-500);
    padding: 1rem 1.25rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.btn) {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--line-subtle);
  }

  .nav-links > .btn {
    margin-left: 0;
    margin-top: 0.65rem;
    width: 100%;
  }

  .about-grid,
  .contact-layout,
  .about-mission-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .credentials-table,
  .service-ledger,
  .about-stats,
  .project-proof-grid,
  .industry-grid,
  .form-grid,
  .leader-grid,
  .org-branches,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .cred-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line-subtle);
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(6, 10, 15, 0.96);
    border-top: 1px solid var(--brass-500);
  }

  .mobile-cta-bar .btn {
    min-height: 42px;
    padding: 0.5rem;
    font-size: 0.78rem;
  }
}


/* ==========================================================================
   TENTANG KAMI: CORPORATE PROFILE TABLE, LEADERSHIP & ORG CHART TREE
   ========================================================================== */
.corporate-profile-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-card);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 2rem;
}

.profile-cell {
  background: var(--bg-850);
  padding: 1.25rem 1.35rem;
}

.profile-cell small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass-400);
  margin-bottom: 0.25rem;
}

.profile-cell strong {
  display: block;
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.profile-cell span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-300);
}

/* Leadership Cards in tentang-kami.html */
.leader-card {
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-top: 3px solid var(--brass-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.leader-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

img.leader-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-950);
  border: 2px solid var(--brass-500);
  padding: 0;
  flex-shrink: 0;
}

.leader-top h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.3;
}

.leader-cred {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-400);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-subtle);
}

.leader-card p {
  font-size: 0.88rem;
  color: var(--text-300);
  line-height: 1.6;
}

/* Hierarchical Organization Chart Tree (#carta-organisasi) */
.org-chart {
  background: var(--bg-850);
  background-image: radial-gradient(circle at 50% 0%, rgba(200, 162, 90, 0.08), transparent 60%);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-md);
}

.org-node {
  position: relative;
  background: var(--bg-950);
  border: 1px solid var(--line-brass);
  border-left: 3px solid var(--brass-500);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.org-node:hover {
  border-color: var(--brass-400);
  transform: translateY(-2px);
}

.org-node small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass-400);
  margin-bottom: 0.25rem;
}

.org-node strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

/* Tier 1: Pengerusi */
.org-top {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 2.2rem;
}

.org-top::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2.2rem;
  background: var(--brass-500);
}

.org-node.org-chair {
  min-width: min(360px, 100%);
  background: linear-gradient(180deg, #162234 0%, #090f18 100%);
  border: 1px solid var(--brass-400);
  border-top: 3px solid var(--crimson-600);
  padding: 1.1rem 1.6rem;
}

.org-node.org-chair strong {
  font-size: 1.02rem;
}

/* Tier 2: CEO & Pengarah Urusan */
.org-executive {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 2.4rem;
}

/* Horizontal connector bar above CEO & MD */
.org-executive::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 185px);
  right: calc(50% - 185px);
  height: 2px;
  background: var(--brass-500);
}

/* Vertical stem down from Tier 2 to Tier 3 */
.org-executive::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2.4rem;
  background: var(--brass-500);
}

.org-executive > .org-node::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1.5rem;
  background: var(--brass-500);
}

/* Tier 3: 3 Department Columns */
.org-departments {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--line-brass);
  align-items: start;
}

.org-team {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.org-team::before {
  content: "";
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1.75rem;
  background: var(--brass-500);
}

.org-connector {
  display: block;
  width: 2px;
  height: 22px;
  background: var(--brass-500);
  margin: 0 auto;
  position: relative;
}

.org-connector::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-400);
}

.org-node.org-sub {
  background: var(--bg-900);
  border-color: var(--line-card);
  border-left: 3px solid rgba(200, 162, 90, 0.65);
}

/* Page Bottom CTA */
.page-cta {
  background: var(--bg-950);
  border-top: 1px solid var(--line-subtle);
}

.page-cta-inner {
  background: var(--bg-850);
  border: 1px solid var(--line-brass);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-cta-inner h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   LAMPIRAN PAGE: APPENDIX GROUPS & CARDS
   ========================================================================== */
.appendix-group {
  margin-bottom: 3rem;
}

.appendix-group[hidden] {
  display: none !important;
}

.appendix-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-brass);
}

.appendix-group-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #ffffff;
}

.appendix-group-head p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-400);
  letter-spacing: 0.06em;
}

.appendix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.appendix-card {
  background: var(--bg-850);
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.appendix-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass-400);
}

.appendix-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #05080d;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-subtle);
  overflow: hidden;
}

.appendix-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.appendix-image span {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.25rem 0.6rem;
  background: rgba(6, 10, 15, 0.9);
  border: 1px solid var(--line-brass);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--brass-400);
}

.appendix-info {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.appendix-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brass-400);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.appendix-info h3 {
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.appendix-info p {
  font-size: 0.84rem;
  color: var(--text-300);
  margin-bottom: 0.65rem;
  flex: 1;
}

.appendix-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-400);
  padding-top: 0.55rem;
  border-top: 1px solid var(--line-subtle);
}

@media (max-width: 960px) {
  .corporate-profile-table,
  .appendix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .org-departments {
    grid-template-columns: 1fr;
    border-top: 0;
    padding-top: 0;
  }
  .org-team::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .corporate-profile-table,
  .org-executive,
  .appendix-grid {
    grid-template-columns: 1fr;
  }
  .org-executive::before,
  .org-executive > .org-node::before {
    display: none;
  }
}

/* Keep the original dark-blue card surfaces and burgundy icon badges */
.credentials-bar .icon-badge,
.service-item .icon-badge,
.industry-card .icon-badge,
.contact-dl-row .icon-badge {
  color: #c8a25a;
  background: #9e1f28;
  border-color: #c8a25a;
}
