/* =========================================================
   SENTINEL CAKRA BUANA — Design System
   Full-service Security, Cleaning, General Labour & Manpower Consulting
   ========================================================= */

:root {
  /* Brand palette */
  --navy-950: #061a12;
  --navy-900: #0a2b1c;
  --navy-800: #0f3f28;
  --navy-700: #155934;
  --navy-600: #1c7a44;
  --steel-700: #3c4a40;
  --steel-500: #647a6c;
  --steel-300: #aec2b3;
  --steel-100: #e8f0e9;
  --gray-50:  #f6f8fa;
  --gray-100: #eef1f5;
  --white: #ffffff;
  --red-600: #c8102e;
  --red-700: #a30d25;
  --red-50: #fdecee;
  --gold-500: #c9a227;
  --gold-400: #dbb94a;
  --gold-050: #fbf5e2;
  --ink: #141f18;
  --success: #1f8a4c;

  /* Typography */
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10, 43, 28, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 43, 28, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 43, 28, 0.18);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 900px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p { color: var(--steel-700); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red-600); color: var(--white); }
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== Header ===== */
.topbar {
  background: var(--navy-950);
  color: var(--steel-300);
  font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--steel-300); }
.topbar a:hover { color: var(--gold-400); }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contacts span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { display: inline-flex; }

@media (max-width: 640px) {
  .topbar { font-size: 0.62rem; }
  .topbar .container { flex-wrap: nowrap; padding-top: 7px; padding-bottom: 7px; }
  .topbar-contacts { flex-wrap: nowrap; gap: 8px; width: 100%; min-width: 0; }
  .topbar-contacts span:nth-child(3) { display: none; }
  .topbar-contacts span { gap: 4px; }
  .topbar-contacts span:first-child { flex-shrink: 0; }
  .topbar-contacts span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
  .topbar-contacts svg { width: 11px; height: 11px; flex-shrink: 0; }
  .tb-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 100%; }
  .topbar-social { display: none; }
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 43, 28, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { color: var(--white); }
.brand-text .name { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; line-height: 1.15; white-space: nowrap; }
.brand-text .tag { display: block; font-family: Georgia, 'Times New Roman', Cambria, serif; font-style: italic; font-weight: 400; font-size: 0.58rem; line-height: 1.2; letter-spacing: 0.01em; text-transform: none; color: var(--gold-400); white-space: nowrap; }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav > ul { display: flex; align-items: center; gap: 2px; }
nav.main-nav a.nav-link {
  color: var(--steel-300);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 11px;
  border-radius: 8px;
  display: inline-block;
  white-space: nowrap;
  transition: all var(--transition);
}
nav.main-nav a.nav-link:hover, nav.main-nav a.nav-link.active { color: var(--white); background: rgba(255,255,255,0.08); }
nav.main-nav .has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--navy-900); font-size: 0.88rem; font-weight: 500; }
.dropdown a:hover { background: var(--gray-100); color: var(--red-600); }
.dropdown a .dd-icon { width: 18px; text-align: center; color: var(--red-600); flex-shrink: 0; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav-cta .btn { padding: 10px 15px; font-size: 0.82rem; white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; padding: 4px; }

@media (max-width: 1120px) {
  .nav-cta .btn-outline { display: none; }
  nav.main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 90px 20px 30px; transform: translateX(100%); transition: transform var(--transition); overflow-y: auto; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.04); display: none; margin: 4px 0 8px; padding: 6px; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { color: var(--steel-300); }
  .dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 16px 0 0; }
  .nav-cta .btn-outline { display: inline-flex; }
  .nav-toggle { display: block; }
  .dd-caret { float: right; }
}

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(6,26,18,0.6); z-index: 90; }
.nav-overlay.open { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(201,162,39,0.18), transparent 60%), linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero { padding: 60px 0 50px; } }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero .lede { color: var(--steel-300); font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-400); }
.hero-stats div span { font-size: 0.8rem; color: var(--steel-300); }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card .pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.hero-pillar { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 16px; }
.hero-pillar .ic { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(145deg, var(--red-600), var(--red-700)); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.hero-pillar h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.hero-pillar p { color: var(--steel-300); font-size: 0.78rem; margin: 0; }

/* Breadcrumb / page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero.has-photo { background-color: var(--navy-950); background-repeat: no-repeat; background-size: cover; background-position: center 30%; }
.page-hero.has-photo::after { display: none; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--steel-300); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 720px; }
.page-hero p.lede { color: var(--steel-300); max-width: 640px; font-size: 1.02rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--red-600); }

/* ===== Service Pillars (home) ===== */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-card .num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--gray-100); }
.pillar-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(145deg, var(--navy-700), var(--navy-950)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pillar-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pillar-card p { color: var(--steel-700); font-size: 0.92rem; }
.pillar-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--red-600); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; margin-top: 8px; }
.pillar-card .more svg { transition: transform var(--transition); }
.pillar-card:hover .more svg { transform: translateX(4px); }

/* ===== Generic cards / grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.stat-strip { background: var(--navy-950); color: var(--white); }
.stat-strip .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 800px) { .stat-strip .grid-4 { grid-template-columns: 1fr 1fr; } }
.stat-strip strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-400); }
.stat-strip span { color: var(--steel-300); font-size: 0.88rem; }

.feature-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .chk { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--red-50); color: var(--red-600); display: flex; align-items: center; justify-content: center; margin-top: 2px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { text-align: left; padding: 6px 0; }
.why-card .pillar-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--red-50); }
.why-card .pillar-icon svg { color: var(--red-600); }
.why-card h4 { font-size: 1rem; }
.why-card p { font-size: 0.88rem; color: var(--steel-700); }

/* Testimonials / clients */
.clients-strip { background: var(--gray-50); }
.client-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.client-chip { background: var(--white); border: 1px solid var(--gray-100); border-radius: 999px; padding: 10px 22px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--steel-700); }

/* Client logo wall */
.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.client-logo-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 5 * 14px) / 6);
  min-width: 150px;
  min-height: 96px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.client-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--steel-100);
}
.client-logo-card--dark {
  background: var(--navy-950);
  border-color: var(--navy-950);
}
.client-logo-card--dark:hover { border-color: var(--navy-700); }
.client-logo-card img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.clients-note {
  text-align: center;
  color: var(--steel-500);
  font-size: 0.88rem;
  margin-top: 22px;
}
@media (max-width: 980px) {
  .client-logo-card { width: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 640px) {
  .client-logo-grid { gap: 10px; }
  .client-logo-card { width: calc((100% - 2 * 10px) / 3); min-width: 96px; min-height: 78px; padding: 12px 10px; }
  .client-logo-card img { max-height: 32px; }
}

/* Coverage area map */
.coverage-area { background: var(--navy-950); }
.coverage-area .section-head .eyebrow { color: var(--gold-400); }
.coverage-area .section-head h2 { color: var(--white); }
.coverage-area .section-head p { color: var(--steel-300); }
.coverage-map-wrap {
  max-width: 980px;
  margin: 0 auto;
}
.coverage-map-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Director message */
.director-card { background: var(--navy-950); border-radius: var(--radius-lg); padding: 34px 28px; color: var(--white); text-align: center; }
.director-avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(145deg, var(--red-600), var(--red-700)); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--white); overflow: hidden; border: 3px solid rgba(255,255,255,0.15); }
.director-avatar img { width: 100%; height: 100%; object-fit: cover; }
.director-card h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 2px; }
.director-card span { color: var(--steel-300); font-size: 0.8rem; }
.quote-mark { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--gold-400); display: block; margin-bottom: 4px; }

/* Value / feature grid (5 across) */
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card { text-align: center; padding: 22px 14px; border: 1px solid var(--gray-100); border-radius: var(--radius-md); background: var(--white); }
.value-letter { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--red-600); display: block; margin-bottom: 8px; }
.value-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--red-50); color: var(--red-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.value-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.value-card p { font-size: 0.78rem; color: var(--steel-700); margin: 0; }

/* TOPGUARD vertical list + leadership photo */
.topguard-list { display: flex; flex-direction: column; gap: 4px; }
.topguard-row { display: flex; align-items: center; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--gray-100); }
.topguard-row:last-child { border-bottom: none; }
.topguard-row .value-letter { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--red-50); display: flex; align-items: center; justify-content: center; margin-bottom: 0; font-size: 1.3rem; }
.topguard-row h4 { font-size: 0.95rem; margin-bottom: 2px; }
.topguard-row p { font-size: 0.82rem; color: var(--steel-700); margin: 0; }
.board-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.board-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Philosophy banner */
.philosophy-banner { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); border-radius: var(--radius-lg); padding: 44px 32px; text-align: center; }
.philosophy-banner .eyebrow { justify-content: center; color: var(--gold-400); }
.philosophy-banner h2 { color: var(--white); }
.philosophy-banner p { color: var(--steel-300); max-width: 640px; margin: 0 auto; }
.philosophy-tagline { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--gold-400); margin: 16px 0; letter-spacing: 0.01em; }

/* History strip */
.history-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.history-row .yr { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--navy-900); line-height: 1; }
.history-row .yr-label { font-size: 0.82rem; color: var(--steel-500); }

.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
.cert-badge { border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 20px 14px; text-align: center; background: var(--white); }
.cert-badge .ic { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 10px; background: var(--gold-050); color: var(--gold-500); display: flex; align-items: center; justify-content: center; }
.cert-badge strong { display: block; font-size: 0.85rem; color: var(--navy-900); }
.cert-badge span { font-size: 0.72rem; color: var(--steel-500); }

/* ===== Photo galleries (warmth) ===== */
.section-warm { background: linear-gradient(180deg, var(--gold-050) 0%, var(--white) 100%); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.photo-grid .pg-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.photo-grid .pg-item:nth-child(4) { grid-column: span 2; }
.photo-grid .pg-item:nth-child(5) { grid-column: span 2; }
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .photo-grid .pg-item:nth-child(4), .photo-grid .pg-item:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .photo-grid .pg-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}
.pg-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  background: var(--navy-900);
}
.pg-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.pg-item:hover img { transform: scale(1.06); }
.pg-item .pg-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px 8px;
  background: linear-gradient(0deg, rgba(6,26,18,0.88) 0%, rgba(6,26,18,0) 100%);
  color: var(--white); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.02em;
}

.photo-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.photo-strip .ps-item {
  flex: 0 0 auto; width: 260px; height: 320px; border-radius: var(--radius-md);
  overflow: hidden; position: relative; box-shadow: var(--shadow-md);
}
.photo-strip .ps-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-strip .ps-item:hover img { transform: scale(1.05); }
.photo-strip .ps-item .ps-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(0deg, rgba(6,26,18,0.9) 10%, rgba(6,26,18,0) 100%);
  color: var(--white);
}
.photo-strip .ps-item .ps-caption strong { display: block; font-family: var(--font-head); font-size: 0.95rem; }
.photo-strip .ps-item .ps-caption span { font-size: 0.76rem; color: var(--steel-300); }
@media (max-width: 600px) { .photo-strip .ps-item { width: 210px; height: 270px; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item {
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
}
.gallery-item .gi-frame { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 12px 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy-900); }

/* Hero badge photo (about / home) */
.hero-badge-photo {
  position: absolute; width: 148px; height: 148px; z-index: 3;
  filter: drop-shadow(0 12px 24px rgba(6,26,18,0.35));
}
.hero-badge-photo img { width: 100%; height: 100%; object-fit: contain; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--red-700), var(--red-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .btn-gold { color: var(--navy-950); }

/* Service detail page */
.service-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 950px) { .service-detail-grid { grid-template-columns: 1fr; } }
.sub-service-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--gray-100); border-radius: var(--radius-md); margin-bottom: 14px; }
.sub-service-card .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--red-50); color: var(--red-600); display: flex; align-items: center; justify-content: center; }
.sub-service-card h4 { font-size: 1rem; margin-bottom: 4px; }
.sub-service-card p { font-size: 0.88rem; color: var(--steel-700); margin: 0; }

.process-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 24px 20px 20px; border: 1px solid var(--gray-100); border-radius: var(--radius-md); }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.process-step h4 { font-size: 0.95rem; margin: 10px 0 6px; }
.process-step p { font-size: 0.85rem; color: var(--steel-700); margin: 0; }

.sidebar-card { background: var(--gray-50); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 1rem; }
.sidebar-links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--steel-100); font-size: 0.9rem; font-weight: 500; }
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--red-600); }
.sidebar-links a.active { color: var(--red-600); font-weight: 700; }

.contact-mini { background: var(--navy-950); color: var(--white); border-radius: var(--radius-lg); padding: 26px; }
.contact-mini h4 { color: var(--white); }
.contact-mini p { color: var(--steel-300); font-size: 0.9rem; }

/* ===== Jobs / Karir ===== */
.job-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.job-filter-btn {
  border: 1px solid var(--gray-100);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--steel-700);
  transition: all var(--transition);
}
.job-filter-btn:hover { border-color: var(--red-600); color: var(--red-600); }
.job-filter-btn.active { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all var(--transition);
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.job-card .job-main { display: flex; gap: 16px; align-items: flex-start; }
.job-card .job-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--red-50); color: var(--red-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.job-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--steel-500); }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.tag-security { background: var(--red-50); color: var(--red-600); }
.tag-cleaning { background: #e6f4ea; color: var(--success); }
.tag-labour { background: var(--gold-050); color: #8a6d1a; }
.tag-konsultan { background: var(--steel-100); color: var(--navy-700); }
.job-open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; color: var(--success); }
.job-open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px #e6f4ea; }
.job-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; flex-shrink: 0; }

/* Tablet: keep icon+info and the apply button on one row — let the info
   column shrink/wrap instead of pushing the button to a new line. */
@media (min-width: 641px) and (max-width: 1024px) {
  .job-card { flex-wrap: nowrap; gap: 14px; padding: 20px; }
  .job-card .job-main { min-width: 0; flex: 1 1 auto; }
  .job-card .job-main > div { min-width: 0; }
  .job-card h3 { font-size: 0.96rem; }
  .job-meta { gap: 10px; font-size: 0.76rem; }
}

/* Mobile: stack info and actions; indent the badge/button to line up
   with the location/type/education text above (icon width + gap). */
@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: stretch; }
  .job-actions { align-items: flex-start; text-align: left; margin-left: 64px; }
}

.karir-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex; align-items: center; gap: 30px; justify-content: space-between; flex-wrap: wrap;
  margin-bottom: 44px;
}
.karir-banner h3 { color: var(--white); margin-bottom: 6px; }
.karir-banner p { color: var(--steel-300); margin: 0; max-width: 480px; }

/* ===== Articles ===== */
.tag-umum { background: var(--gray-100); color: var(--steel-700); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  display: block; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-card-body h3 {
  font-size: 1.02rem; margin: 4px 0 8px; color: var(--navy-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-body p {
  font-size: 0.88rem; color: var(--steel-700); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--steel-500); }
.article-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

.article-hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; color: var(--steel-300); font-size: 0.86rem; }
.article-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-body { max-width: 680px; }
.article-body p { color: var(--ink); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.15em; }
.article-body h3 { font-size: 1.2rem; margin: 1.6em 0 0.6em; color: var(--navy-900); }
.article-body h3:first-child { margin-top: 0; }
.article-body ul.feature-list { margin-bottom: 1.3em; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.form-field label .req { color: var(--red-600); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red-600); background: var(--white); box-shadow: 0 0 0 3px var(--red-50);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.78rem; color: var(--steel-500); }
.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--gold-050); border: 1px solid #eddca0; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.82rem; color: #6b5410; margin-top: 6px;
}
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; background: #e6f4ea; color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.contact-card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--red-50); color: var(--red-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }

.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-100); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Timeline (about) */
.about-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .about-lead { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(6,26,18,0.55)); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .vm-grid { grid-template-columns: 1fr; } }
.vm-card { padding: 26px; border-radius: var(--radius-lg); background: var(--gray-50); }
.vm-card.mission { background: var(--navy-950); color: var(--white); }
.vm-card.mission h3 { color: var(--white); }
.vm-card.mission li { color: var(--steel-300); }

/* Footer */
footer.site-footer { background: var(--navy-950); color: var(--steel-300); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: var(--white); font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand p { font-size: 0.88rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--red-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-400); }

.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soft { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-050); color: #8a6d1a; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
/* Content is always visible by default (no JS/timing dependency).
   Elements already in the initial viewport get a gentle one-time fade-in
   on load; anything scrolled to is simply shown as-is — reliable beats
   flashy for a business site. See main.js for the load-time fade. */
.reveal { opacity: 1; transform: none; }
html.js .reveal.pre-load { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.pre-load.in { opacity: 1 !important; transform: translateY(0) !important; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal.pre-load { opacity: 1; transform: none; transition: none; }
}
