/* =========================================================
   PT. ARTA SURYA PERKASA - Design System
   Acuan: design.md (root project)
   Light theme. Semua warna berasal dari token :root di bawah.
   Tidak ada gradient, tidak ada section gelap.
   ========================================================= */

:root{
  /* ---- Brand ---- */
  --color-primary:        #3B3A93;
  --color-primary-hover:  #2F2E7A;
  --color-secondary:      #2C5FA6;
  --color-accent:         #00AEEF;
  --color-accent-text:    #09709F;
  --color-action:         #C8283A;
  --color-action-hover:   #A8202F;

  /* ---- Neutral ---- */
  --color-bg:         #FFFFFF;
  --color-surface:    #F5F7FB;
  --color-surface-alt:#EAEFF8;
  --color-border:     #DDE2EE;
  --color-text:       #1F2340;
  --color-muted:      #5A607A;

  /* ---- Fungsional (terdokumentasi di design.md) ---- */
  --color-success:      #4C8B6B;
  --color-danger-soft:  #C54242;
  --color-whatsapp:     #1E9E5A;

  /* ---- Tipografi ---- */
  --font-display: 'Archivo', 'Inter', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* ---- Dimensi & gerak ---- */
  --radius: 4px;
  --container: 1180px;

  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast:   150ms;
  --dur-base:   200ms;

  --shadow-sm: 0 1px 2px rgba(31, 35, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 35, 64, 0.08);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:clip;}
body{
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x:clip;
  width:100%;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
input, select, textarea{font-family:inherit; font-size:1rem;}

/* Aksesibilitas: fokus terlihat, instan */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Sentuh: responsif saat ditekan, tanpa tap highlight biru */
button, a, [role="button"]{
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button, [role="button"], .btn, .nav-links a, .tab{
  user-select: none;
  -webkit-user-select: none;
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:16px; height:2px;
  background: var(--color-primary);
  display:inline-block;
  flex-shrink:0;
}

/* ---------- headings ---------- */
h1,h2,h3,h4{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  overflow-wrap: break-word;
  min-width: 0;
}
h1{ font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size: 1.3rem; }
p{ color: var(--color-muted); }
.lead{ color: var(--color-muted); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) ease,
              color var(--dur-fast) ease,
              border-color var(--dur-fast) ease;
  white-space: nowrap;
  text-align:center;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: var(--color-action);
  color: #FFFFFF;
  font-weight: 600;
}
.btn-primary:hover{ background: var(--color-action-hover); box-shadow: var(--shadow-md); }
.btn-ghost{
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-bg);
}
.btn-ghost:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.btn-wa{
  background: var(--color-whatsapp);
  color: #fff;
  font-weight: 600;
}
.btn-wa:hover{ background:#188049; }
.btn-block{ width:100%; justify-content:center; }
.btn[disabled], .btn.is-disabled{
  opacity:0.55; cursor:not-allowed; transform:none !important; box-shadow:none !important;
  pointer-events:none;
}

@media (hover: hover) and (pointer: fine){
  .btn-primary:hover{ transform: translateY(-1px); }
}

/* =========================================================
   HEADER + NAV (mobile-first)
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.status-bar{
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.status-bar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:7px; padding-bottom:7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}
.status-dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--color-accent);
  display:inline-block;
  margin-right:8px;
  box-shadow: 0 0 0 0 rgba(0,174,239,0.35);
  animation: pulse 2.2s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(0,174,239,0.35); }
  70%{ box-shadow: 0 0 0 7px rgba(0,174,239,0); }
  100%{ box-shadow: 0 0 0 0 rgba(0,174,239,0); }
}
.status-bar a{ color: var(--color-secondary); font-weight:600; }
.status-bar a:hover{ text-decoration: underline; }

.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  padding-block: 12px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  text-transform:uppercase;
  font-size:1.05rem;
  letter-spacing:0.03em;
  min-width:0;
}
.brand-logo{
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand span{ line-height:1.15; }
.brand small{
  display:block;
  font-family: var(--font-mono);
  text-transform:none;
  font-size:0.65rem;
  letter-spacing:0.03em;
  color: var(--color-muted);
  margin-top:3px;
}

/* Tombol hamburger - hanya tampil di mobile */
.nav-toggle{
  display:none;
  margin-left:auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border-radius: var(--radius);
  font-size: 1.2rem;
  line-height: 1;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.nav-toggle:hover{ background: var(--color-surface); border-color: var(--color-primary); }
.nav-toggle:active{ transform: scale(0.96); }

/* Daftar menu */
.nav-links{
  display:flex; align-items:center; gap: 4px;
}
.nav-links a,
.nav-links .dropdown-toggle{
  font-family: var(--font-mono);
  font-size:0.74rem;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color: var(--color-muted);
  padding: 10px 11px;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-left:0; border-right:0; border-top:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.nav-links a:hover, .nav-links a.active,
.nav-links .dropdown-toggle:hover,
.nav-links .dropdown-toggle[aria-expanded="true"]{
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.nav-links a.active{ font-weight:600; }

/* Pemisah + Login Admin di dalam menu navigasi */
.nav-sep{
  width:1px;
  align-self:stretch;
  background: var(--color-border);
  margin: 6px 8px;
}
.nav-links .nav-admin{
  color: var(--color-primary);
  font-weight:600;
}

/* Dropdown Layanan */
.nav-dropdown{
  position: relative;
}
.nav-dropdown .dropdown-toggle::after{
  content: "▾";
  font-size:0.75rem;
  color: inherit;
  transition: transform var(--dur-fast) ease;
}
.nav-dropdown.open .dropdown-toggle::after{ transform: rotate(180deg); }
.nav-dropdown .dropdown-menu{
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  min-width:230px;
  background: var(--color-bg);
  border:1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 6px;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:2px;
  opacity:0;
  visibility:hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
  box-shadow: var(--shadow-md);
}
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
.nav-dropdown .dropdown-menu a{
  display:block;
  border-bottom: none;
  padding: 11px 12px;
  border-radius: 3px;
  background: transparent;
  text-transform:none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--color-text);
}
.nav-dropdown .dropdown-menu a:hover,
.nav-dropdown .dropdown-menu a.active{
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

/* ---------- Mobile: panel menu ---------- */
@media (max-width: 1080px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--color-bg);
    flex-direction:column;
    align-items:stretch;
    padding: 8px 18px 18px;
    gap:2px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display:none;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.open{
    display:flex;
    animation: menu-in 180ms var(--ease-out);
  }
  @keyframes menu-in{
    from{ opacity:0; transform: translateY(-8px); }
    to{ opacity:1; transform: translateY(0); }
  }
  .nav-links a,
  .nav-links .dropdown-toggle{
    width:100%;
    justify-content:space-between;
    padding: 15px 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    min-height: 50px;
  }
  .nav-links a:hover, .nav-links a.active,
  .nav-links .dropdown-toggle:hover{
    color: var(--color-primary);
    border-color: var(--color-border);
  }
  .nav-links li:last-child a{ border-bottom: none; }
  .nav-sep{
    width:auto; height:1px; margin: 10px 0 4px;
    align-self:auto;
  }
  .nav-links .nav-admin{
    color: var(--color-primary);
    background: var(--color-surface);
    border:1px solid var(--color-border);
    border-radius: var(--radius);
    justify-content:center;
    margin-top: 6px;
  }
  .nav-dropdown{ width:100%; }
  .nav-dropdown .dropdown-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display:none;
    min-width: 100%;
    margin-top: 4px;
    box-shadow: none;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 4px;
    transition: none;
  }
  .nav-dropdown.open .dropdown-menu{ display:flex; }
  .nav-dropdown .dropdown-menu a{
    padding: 13px 14px;
    min-height: 48px;
    display:flex;
    align-items:center;
    border-bottom: none;
    color: var(--color-text);
  }
  .status-bar .wrap{ flex-wrap:wrap; gap:6px; }
}

@media (max-width: 640px){
  .status-bar .wrap span:last-child{ display:none; }
  .status-bar .wrap{ justify-content:center; text-align:center; }
  .brand-logo{ width:42px; height:42px; }
  .brand{ font-size:0.92rem; gap:10px; }
  .navbar{ padding-block: 10px; }
  .wrap{ padding-inline: 20px; }
}
@media (max-width: 420px){
  .brand small{ display:none; }
  .brand{ font-size: 0.84rem; }
}

/* =========================================================
   BADGE CARD - kartu informasi (latar terang)
   ========================================================= */
.badge-card{
  position:relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
}
.badge-card .code{
  font-family: var(--font-mono);
  font-size:0.72rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom:14px;
  display:block;
}
.badge-card .code[data-label]::before{ content: attr(data-label); }
.badge-card h3{ color: var(--color-text); margin-bottom:10px; font-size:1.15rem; }
.badge-card p{ color: var(--color-muted); font-size:0.92rem; margin-bottom:0;}

/* =========================================================
   HERO - image carousel
   ========================================================= */
.hero{
  position:relative;
  overflow:hidden;
  background: var(--color-surface);
  color: var(--color-text);
  display:flex;
  align-items:center;
  min-height: min(74svh, 620px);
  padding: 56px 0 64px;
}
.hero-media{
  position:absolute; inset:0;
  z-index:0;
  overflow:hidden;
}
/* Marquee: track berisi konten diduplikasi 2×, bergeser -50% lalu
   mengulang tanpa henti (pakai keyframes marquee-slide yang sudah ada).
   Slide berupa <img> dengan lebar mengikuti rasio foto - tampil utuh. */
.hero-track{
  display:flex;
  width:max-content;
  height:100%;
  animation: marquee-slide 30s linear infinite;
}
.hero-slide{
  flex: 0 0 auto;
  height:100%;
  width:auto;
  max-width:none;
  margin-right: 20px;
}

/* Overlay putih transparan agar teks tetap terbaca (tanpa gradient) */
.hero-veil{
  position:absolute; inset:0;
  background: rgba(255,255,255,0.55);
  z-index:1;
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding-block: 0;
}
.hero-surface{
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px 38px;
  max-width: 640px;
}
.hero-surface h1{ margin-bottom:18px; }
.hero-surface h1 em{
  font-style:normal;
  color: var(--color-primary);
}
.hero-surface .lead{
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  margin-bottom: 26px;
}
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-tags{ display:flex; gap:18px; flex-wrap:wrap; margin-top:22px; }
.hero-tags .tag{
  font-family: var(--font-mono);
  font-size:0.75rem;
  color: var(--color-muted);
  display:flex; align-items:center; gap:8px;
}
.hero-tags .tag::before{ content:"✓"; color: var(--color-secondary); font-weight:700; }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band{
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat{
  padding: 26px 22px;
  text-align:center;
  border-right: 1px solid var(--color-border);
  position:relative;
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--color-primary);
  line-height:1.1;
}
.stat .lbl{
  font-family: var(--font-mono);
  font-size:0.68rem;
  color: var(--color-muted);
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-top:6px;
}
@media (max-width: 760px){
  .stats-row{ grid-template-columns: 1fr 1fr; }
  .stat{ border-bottom: 1px solid var(--color-border); }
  .stat:nth-child(2){ border-right:none; }
  .stat:nth-child(3){ border-bottom:none; }
  .stat:nth-child(4){ border-bottom:none; }
}
@media (max-width: 420px){
  .stat{ padding: 20px 14px; }
}

/* =========================================================
   VIDEO BANNER (halaman layanan)
   ========================================================= */
.page-video-banner {
  background: var(--color-surface);
  padding: 26px 0 0;
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}
.video-frame video {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  background: var(--color-surface);
}
@media (max-width: 860px){
  .video-frame video { height: 280px; }
}

/* =========================================================
   FEATURE ROWS (index - layanan dengan panel foto)
   ========================================================= */
.feature-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:center;
  padding: 34px 0;
}
.feature-row + .feature-row{ border-top: 1px solid var(--color-border); }
.feature-row.reverse .photo-panel{ order: 2; }
.feature-row h3{
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 14px;
}
.feature-row p{
  margin-bottom: 22px;
  font-size: 0.98rem;
}
.feature-row .btn{ align-self:flex-start; }
.service-link{
  display:block;
}
.photo-panel{
  position:relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 320px;
  display:flex;
  align-items:flex-end;
  padding: 22px;
  overflow:hidden;
}
.photo-panel .service-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: center top;
  pointer-events:none;
  z-index:0;
}
.photo-panel .tag{
  position:relative; z-index:1;
  font-family: var(--font-mono);
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color: var(--color-primary);
  background: rgba(255,255,255,0.95);
  border:1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.photo-panel .tag::before{
  content:"";
  width:8px; height:8px;
  background: var(--color-accent);
  display:inline-block;
  margin-right:10px;
  border-radius:50%;
}
.detail-feature .feature-row{ grid-template-columns: 1fr; gap: 28px; padding: 22px 0; }
.detail-feature .feature-row .photo-panel{ min-height: 260px; }
.detail-feature .feature-row h3{ margin-top: 0; }
.detail-feature .checklist{ list-style:none; padding-left:0; margin:18px 0; }
.detail-feature .checklist li{ position:relative; padding-left:28px; margin-bottom:12px; color: var(--color-muted); }
.detail-feature .checklist li::before{ content:"✓"; position:absolute; left:0; color: var(--color-secondary); font-weight:600; }

/* =========================================================
   SERVICE SHOWCASE - kartu layanan (gambar full-bleed)
   ========================================================= */
.service-showcase {
  background: var(--color-surface);
  padding: 52px 0 38px;
}
.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}
.service-card .card-image {
  height: 240px;
  overflow: hidden;
  background: var(--color-surface);
  position: relative;
}
.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card .card-body p { flex: 1; }
.service-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: none;
  color: var(--color-text);
}
.service-card p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.service-card .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.service-card .service-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
}
.service-card .service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
}
.service-card .tagline {
  display: block;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.96rem;
}
.service-card .checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.service-card .checklist li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.92rem;
}
.service-card .checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

/* Photo marquee */
.photo-marquee {
  background: var(--color-bg);
  padding: 18px 0 70px;
}
.marquee-head { margin-bottom: 26px; }
.marquee-head h2 { color: var(--color-text); }
.marquee-shell {
  position: relative;
  overflow: hidden;
  padding: 8px 0 10px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 24s linear infinite;
}
.marquee-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}
.marquee-item {
  width: 320px;
  flex: 0 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.marquee-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.marquee-item figcaption {
  padding: 12px 14px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}
body[data-service-page="jasa-keamanan"] .marquee-item{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 980px){
  .service-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .feature-row{ grid-template-columns:1fr; gap: 26px; padding: 26px 0; }
  .feature-row.reverse .photo-panel{ order:0; }
  .photo-panel{ min-height: 240px; }
  .marquee-item { width: 260px; }
}
@media (max-width: 1100px){
  .service-showcase-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 800px){
  .service-showcase-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card .card-image{ height: 220px; }
}
@media (max-width: 480px){
  .service-showcase-grid{ grid-template-columns: 1fr; }
  .service-card .card-image{ height: 200px; }
}
@media (max-width: 1000px){
  body[data-service-page] .service-showcase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}
@media (max-width: 600px){
  body[data-service-page] .service-showcase-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body[data-service-page] .service-showcase-grid > .service-card:nth-child(4){
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}
/* Tata letak 3 + 1 untuk halaman layanan - hanya desktop.
   Di bawah 1001px berlaku aturan responsive di atas:
   2 kolom di tablet, 1 kolom di mobile agar kartu tidak sempit. */
@media (min-width: 1001px){
  body[data-service-page="jasa-kebersihan"] .service-showcase-grid,
  body[data-service-page="jasa-keamanan"] .service-showcase-grid{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 28px;
  }
  body[data-service-page="jasa-kebersihan"] .service-showcase-grid > .service-card:nth-child(4),
  body[data-service-page="jasa-keamanan"] .service-showcase-grid > .service-card:nth-child(4){
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 760px;
  }
  body[data-service-page="jasa-kebersihan"] .service-showcase-grid > .service-card:nth-child(4) .card-image,
  body[data-service-page="jasa-keamanan"] .service-showcase-grid > .service-card:nth-child(4) .card-image{
    height: 300px;
  }
}

/* =========================================================
   ORGANIZATION CHART
   ========================================================= */
.org-chart{
  display:flex; flex-direction:column; align-items:center; gap:18px;
  margin-top: 10px;
}
.org-row{
  display:flex; justify-content:center; align-items:flex-start; gap:18px;
  flex-wrap:wrap;
}
.org-branch{
  display:flex; justify-content:center;
}
.org-node{
  background: var(--color-bg);
  border:1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 16px 16px; min-width: 175px;
  text-align:center;
  box-shadow: var(--shadow-sm);
}
.org-node.root{
  background: var(--color-surface-alt);
  border-color: var(--color-primary);
  min-width: 220px;
}
.org-avatar{
  width: 80px; height: 80px; border-radius: 50%; overflow:hidden;
  border: 2px solid var(--color-border); margin: 0 auto 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.org-node.root .org-avatar{
  width: 92px; height: 92px;
  border-color: var(--color-primary);
}
.org-avatar img{
  width:100%; height:100%; object-fit:cover; object-position: top center; display:block;
}
.org-node .role{
  display:block; font-family: var(--font-mono); font-size:0.66rem;
  letter-spacing:0.08em; text-transform:uppercase; color: var(--color-muted);
  margin-bottom:8px;
}
.org-node.root .role{ color: var(--color-primary); }
.org-node h4{
  margin: 0; font-size: 1rem; color: inherit;
}
.org-connector{
  width: 2px; height: 28px;
  background: var(--color-border);
  border-radius: 999px;
}

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
section{ padding: 88px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:30px; margin-bottom: 46px; flex-wrap:wrap;
}
.section-head p{ max-width:440px; }

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

/* grids */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }

@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; }
  section{ padding:60px 0; }
}

/* process steps */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap: 0; position:relative; }
.step{ padding: 0 20px 0 0; position:relative; }
.step .n{
  font-family:var(--font-mono); color: var(--color-secondary); font-size:0.75rem; letter-spacing:0.08em;
}
.step h4{ font-family:var(--font-display); text-transform:uppercase; margin:10px 0 8px; font-size:1.05rem; }
.step p{ font-size:0.92rem; }
@media (max-width: 900px){ .steps{ grid-template-columns:1fr 1fr; row-gap:34px; } }
@media (max-width: 560px){ .steps{ grid-template-columns:1fr; } }

/* testimonials / quote cards */
.quote-card{
  background: var(--color-bg);
  border:1px solid var(--color-border);
  padding:26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quote-card p{ color:var(--color-text); font-size:1rem; }
.quote-card .who{
  margin-top:16px; font-family:var(--font-mono); font-size:0.75rem; color:var(--color-muted);
  display:flex; align-items:center; gap:10px;
}
.quote-card .who .dot{ width:6px; height:6px; background:var(--color-accent); border-radius:50%; }

/* =========================================================
   CLIENTS / CLIENT RECORD
   ========================================================= */
.clients-section { padding: 60px 0; }
.clients-head { margin-bottom: 36px; }
.clients-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 6px;
  margin-bottom: 12px;
}
.clients-head p {
  color: var(--color-muted);
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.6;
}
.client-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.client-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.client-filter-btn:hover,
.client-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.client-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 110px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}
@media (hover: hover) and (pointer: fine){
  .client-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
  }
}
.client-card img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
}
.client-card .client-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-top: 8px;
  line-height: 1.35;
}
.client-card .client-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.clients-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

/* CTA band (terang, bukan section gelap) */
.cta-band{
  background: var(--color-surface-alt);
  color: var(--color-text);
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-inner h2{ margin-bottom:6px; }

/* =========================================================
   FOOTER - dua panel
   ========================================================= */
.site-footer{
  background: var(--color-surface-alt);
  color: var(--color-muted);
  padding: 52px 0 24px;
  border-top: 1px solid var(--color-border);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-brand .brand{ font-size:1rem; }
.footer-brand p{ font-size: 0.92rem; max-width: 380px; }
.footer-services{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-secondary);
}
.footer-cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
}
.footer-grid h5{
  font-family: var(--font-mono);
  text-transform:uppercase;
  letter-spacing:0.08em;
  font-size:0.75rem;
  color: var(--color-primary);
  margin-bottom:14px;
  font-weight: 600;
}
.footer-grid li{ margin-bottom:9px; font-size:0.88rem; color: var(--color-muted); }
.footer-grid a{ color: var(--color-muted); }
.footer-grid a:hover{ color: var(--color-primary); }
.footer-contact li{ display:flex; gap:8px; align-items:flex-start; }
.footer-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 4px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.8rem;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.footer-social-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.footer-social-link svg {
  flex-shrink: 0;
  fill: currentColor;
}
.footer-bottom{
  display:flex; justify-content:space-between; padding-top:20px; flex-wrap:wrap; gap:10px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono); font-size:0.72rem; color: var(--color-muted);
}
.footer-bottom a{ color: var(--color-muted); }
.footer-bottom a:hover{ color: var(--color-primary); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cols{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* Mobile: tetap 2 panel kanan-kiri; kolom info ditumpuk di dalam panel kanan */
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-cols{ grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 420px){
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
/* Layar sangat sempit: baru susun 1 kolom agar tidak overflow */
@media (max-width: 360px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE HEADER (halaman dalam)
   ========================================================= */
.page-hero{
  background: var(--color-surface);
  color: var(--color-text);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1{ color: var(--color-text); }
.page-hero .lead{ color: var(--color-muted); }
.breadcrumb{
  font-family: var(--font-mono); font-size:0.72rem; color:var(--color-muted); margin-bottom:14px;
  letter-spacing:0.05em; text-transform:uppercase;
}
.breadcrumb a:hover{ color: var(--color-primary); }

/* =========================================================
   LOKER - daftar & filter
   ========================================================= */
.job-toolbar{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center;
  background: var(--color-bg);
  border:1px solid var(--color-border);
  padding:18px;
  border-radius:var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}
.job-toolbar select, .job-toolbar input[type="search"]{
  border:1px solid var(--color-border);
  padding:12px 14px;
  border-radius:var(--radius);
  background: var(--color-bg);
  font-size:0.9rem;
  color: var(--color-text);
  min-height: 46px;
  transition: border-color var(--dur-fast) ease;
}
.job-toolbar input[type="search"]{ flex:1; min-width:180px; }
.job-toolbar select:focus, .job-toolbar input[type="search"]:focus{
  outline:none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59,58,147,0.14);
}
.job-toolbar .count{
  font-family: var(--font-mono); font-size:0.75rem; color: var(--color-muted); margin-left:auto;
}

.job-list{ display:grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap:20px; }

.job-card{
  background: var(--color-bg);
  border:1px solid var(--color-border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}
@media (hover: hover) and (pointer: fine){
  .job-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
}
.job-card .job-cover{
  width:100%;
  height:auto;
  object-fit: contain;
  object-position: center;
  background: var(--color-surface);
  display:block;
}
.job-card .job-body{ padding:24px; display:flex; flex-direction:column; flex:1; }
.job-card .top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:14px; }
.job-card .code{
  font-family: var(--font-mono); font-size:0.68rem; color: var(--color-secondary); letter-spacing:0.06em;
}
.job-card .status-pill{
  font-family: var(--font-mono); font-size:0.65rem; text-transform:uppercase; letter-spacing:0.05em;
  padding:4px 9px; border-radius:999px; background: rgba(76,139,107,0.12); color: var(--color-success); white-space:nowrap;
}
.job-card .status-pill.closed{ background: var(--color-surface-alt); color: var(--color-muted); }
.job-card .status-pill.segera{ background: rgba(44,95,166,0.10); color: var(--color-secondary); }
.job-card h3{ font-size:1.15rem; margin-bottom:6px; }
.job-card .posisi{
  font-size:0.85rem; font-weight:600; color: var(--color-secondary);
  margin:-2px 0 10px;
}
.job-card .meta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.job-card .meta span{
  font-family: var(--font-mono); font-size:0.75rem; color: var(--color-muted); display:flex; align-items:center; gap:6px;
}
.job-card p.desc{ font-size:0.9rem; margin-bottom:18px; }
.job-card .bottom{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  border-top:1px solid var(--color-border); padding-top:16px; margin-top:auto;
}
.job-card .bottom a{
  font-family: var(--font-mono); font-size:0.78rem; font-weight:600; color: var(--color-primary); text-transform:uppercase;
  display:flex; align-items:center; gap:6px;
}
.job-card .bottom a:hover{ color: var(--color-primary-hover); }
.job-card .deadline{ font-family: var(--font-mono); font-size:0.72rem; color: var(--color-muted); }

.empty-state{
  text-align:center; padding: 60px 20px; color: var(--color-muted);
  font-family: var(--font-mono); font-size:0.9rem;
  border:1px dashed var(--color-border); border-radius:var(--radius);
  background: var(--color-surface);
}

/* =========================================================
   DETAIL LOWONGAN
   ========================================================= */
.detail-grid{ display:grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items:start; }
@media (max-width:900px){ .detail-grid{ grid-template-columns:1fr; } }
.detail-main h2{ margin-bottom:18px; }
.detail-main h4{ font-family:var(--font-display); text-transform:uppercase; margin:26px 0 12px; font-size:1.1rem; }
.detail-main ul.checklist li{
  padding-left:22px; position:relative; margin-bottom:10px; font-size:0.95rem; color: var(--color-muted);
}
.detail-main ul.checklist li::before{ content:"›"; position:absolute; left:0; color: var(--color-secondary); font-weight:700; }
.detail-cover{
  width:100%;
  height:auto;
  object-fit: contain;
  object-position: center;
  border:1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: var(--color-surface);
}
.detail-meta-card{
  background: var(--color-bg);
  border:1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  padding:26px;
  border-radius:var(--radius);
  position:sticky; top:110px;
}
.detail-meta-card .code{ color: var(--color-secondary); }
.detail-meta-card h4{ color: var(--color-text); }
.detail-meta-card .row{
  display:flex; justify-content:space-between; gap:12px;
  padding:11px 0; border-bottom:1px solid var(--color-border); font-size:0.88rem;
}
.detail-meta-card .row span:first-child{
  color: var(--color-muted); font-family: var(--font-mono); font-size:0.72rem; text-transform:uppercase;
}
.detail-meta-card .btn{ margin-top:20px; }
.detail-meta-card .btn + .btn{ margin-top:10px; }
.closed-note{
  display:block;
  margin-top:16px;
  padding: 12px 14px;
  background: var(--color-surface-alt);
  border:1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.84rem;
  color: var(--color-muted);
}

.related-title{
  font-family: var(--font-mono); text-transform:uppercase; font-size:0.75rem;
  letter-spacing:0.06em; color: var(--color-muted); margin: 50px 0 18px;
}

/* =========================================================
   GALERI
   ========================================================= */
.gallery-filter{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px;
}
.gallery-filter button{
  font-family: var(--font-mono); font-size:0.75rem; text-transform:uppercase; letter-spacing:0.05em;
  padding:10px 16px; border:1px solid var(--color-border); background:var(--color-bg); color:var(--color-muted);
  border-radius:var(--radius); cursor:pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.gallery-filter button:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.gallery-filter button.active{ background: var(--color-primary); color:#fff; border-color: var(--color-primary); }
.gallery-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-grid .gallery-item{
  position:relative; overflow:hidden; border-radius:var(--radius);
  background: var(--color-surface);
  border:1px solid var(--color-border);
  margin:0;
  box-shadow: var(--shadow-sm);
}
.gallery-grid .gallery-item img{
  width:100%; height:240px; object-fit:cover; display:block;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine){
  .gallery-grid .gallery-item:hover img{ transform: scale(1.03); }
}
.gallery-grid .gallery-item figcaption{
  padding: 14px 16px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  color: var(--color-text); font-size:0.85rem;
  display:flex; flex-direction:column; gap:6px; align-items:flex-start;
}
.gallery-grid .gallery-item .tag{
  font-family: var(--font-mono); font-size:0.65rem; text-transform:uppercase; letter-spacing:0.05em;
  background: var(--color-surface-alt); color: var(--color-primary); padding:3px 8px; border-radius:999px;
}
.gallery-grid .gallery-item.gallery-video{ background: var(--color-surface); }
.gallery-grid .gallery-item .video-frame{
  position:relative; width:100%; padding-top:56.25%; /* 16:9 */
  border:0; border-radius:0; box-shadow:none;
}
.gallery-grid .gallery-item .video-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0; display:block;
}
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

/* ---------- GALLERY SLIDER (beranda) ---------- */
.slider-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.slider-btn:active{ transform: scale(0.95); }
.gallery-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
  width: 100%;
}
.gallery-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-slider-track::-webkit-scrollbar {
  display: none;
}
.gallery-slider-item {
  flex: 0 0 340px;
  width: 340px;
  scroll-snap-align: start;
  background: var(--color-bg);
  border:1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  margin: 0;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease;
}
@media (hover: hover) and (pointer: fine){
  .gallery-slider-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.gallery-slider-item .media-wrap {
  width: 100%;
  height: 230px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gallery-slider-item .media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-slider-item.gallery-video .media-wrap {
  height: 230px;
  background: var(--color-surface);
}
.gallery-slider-item .video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border:0; border-radius:0; box-shadow:none;
}
.gallery-slider-item .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-slider-item figcaption {
  padding: 14px 16px 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  flex-grow: 1;
}
.gallery-slider-item .tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-surface-alt);
  color: var(--color-primary);
  padding: 3px 8px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .gallery-slider-item {
    flex: 0 0 280px;
    width: 280px;
  }
  .gallery-slider-item .media-wrap {
    height: 200px;
  }
}

/* =========================================================
   FORM (Pendaftaran Karyawan)
   ========================================================= */
.form-shell{
  display:grid; grid-template-columns: 0.9fr 1.4fr; gap: 44px; align-items:flex-start;
}
@media (max-width: 940px){ .form-shell{ grid-template-columns:1fr; } }

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 6px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-card{
  background: var(--color-bg);
  border:1px solid var(--color-border);
  border-radius:var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.field{ margin-bottom:20px; }
.field label{
  display:block; font-family: var(--font-mono); font-size:0.72rem; text-transform:uppercase;
  letter-spacing:0.05em; color: var(--color-muted); margin-bottom:8px;
}
.field label .req{ color: var(--color-action); }
.field input, .field select, .field textarea{
  width:100%; border:1px solid var(--color-border); padding:12px 14px; border-radius:var(--radius);
  background: var(--color-bg); color: var(--color-text);
  min-height: 46px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(59,58,147,0.14);
}
.field textarea{ resize:vertical; min-height:100px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.field .hint{ font-size:0.76rem; color: var(--color-muted); margin-top:6px; }
.checkline{ display:flex; align-items:flex-start; gap:10px; font-size:0.85rem; color: var(--color-muted); }
.checkline input{ width:auto; margin-top:3px; }

.form-status{
  border-radius:var(--radius); padding:16px 18px; margin-bottom:22px; font-size:0.88rem;
  display:none; font-family: var(--font-body);
}
.form-status.show{ display:block; }
.form-status.ok{ background: rgba(76,139,107,0.10); color:#2E6449; border:1px solid rgba(76,139,107,0.3); }
.form-status.err{ background: rgba(200,40,58,0.07); color: var(--color-action-hover); border:1px solid rgba(200,40,58,0.28); }

/* =========================================================
   TOAST NOTIFICATION
   ========================================================= */
.toast-container{
  position: fixed; top: 20px; right: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 12px; max-width: 360px;
}
.toast{
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--color-bg); color: var(--color-text);
  border: 1px solid var(--color-border); border-left: 3px solid var(--color-success);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.88rem; line-height: 1.5;
  animation: toast-in .25s var(--ease-out) forwards;
}
.toast .toast-icon{
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(76,139,107,0.14); color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-mono); font-size: 0.85rem;
}
.toast .toast-title{
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-primary); font-weight: 600; margin-bottom: 2px; font-size: 0.78rem;
}
.toast .toast-msg{ color: var(--color-muted); }
.toast .toast-close{
  margin-left: auto; background: none; border: none; color: var(--color-muted);
  font-size: 1rem; line-height: 1; cursor: pointer; padding: 2px 4px;
}
.toast .toast-close:hover{ color: var(--color-text); }
.toast.err{ border-left-color: var(--color-action); }
.toast.err .toast-icon{ background: rgba(200,40,58,0.10); color: var(--color-action); }
@keyframes toast-in{
  from{ opacity: 0; transform: translateX(24px); }
  to{ opacity: 1; transform: translateX(0); }
}
.toast.out{ animation: toast-out .2s ease forwards; }
@keyframes toast-out{
  from{ opacity: 1; transform: translateX(0); }
  to{ opacity: 0; transform: translateX(24px); }
}
@media (max-width: 560px){
  .toast-container{ top: 16px; right: 16px; left: 16px; max-width: none; }
}

/* Sidebar card (form pendaftaran) */
.sidebar-card{
  background: var(--color-surface-alt);
  color: var(--color-text);
  border:1px solid var(--color-border);
  border-radius:var(--radius);
  padding:26px;
  margin-bottom:20px;
}
.sidebar-card h4{ font-family:var(--font-display); text-transform:uppercase; margin-bottom:10px; font-size:1rem; color: var(--color-text); }
.sidebar-card p{ font-size:0.88rem; margin-bottom:0; color: var(--color-muted); }
.sidebar-steps li{
  display:flex; gap:12px; margin-bottom:16px; font-size:0.88rem; color: var(--color-muted);
}
.sidebar-steps .num{
  font-family: var(--font-mono); color: var(--color-primary); font-weight:700; flex-shrink:0;
}

/* =========================================================
   MAP
   ========================================================= */
.map-card {
  margin-top: 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.map-frame {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-action {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.map-action p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
}

/* =========================================================
   RESPONSIVE - komponen spesifik
   ========================================================= */
@media (max-width: 700px){
  .job-toolbar{ flex-direction:column; align-items:stretch; }
  .job-toolbar input[type="search"], .job-toolbar select{ width:100%; min-width:0; }
  .job-toolbar .count{ margin-left:0; }
  .job-card .job-body{ padding:20px; }
  .job-card .bottom{ flex-direction:column; align-items:flex-start; gap:10px; }
  .detail-meta-card{ position:static; }
  .form-card{ padding: 22px 18px; }
  .sidebar-card{ padding: 22px 18px; }
  .quote-card{ padding:22px; }
  .badge-card{ padding: 24px 20px; }
  .page-hero{ padding: 42px 0 36px; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .cta-inner .btn{ width:100%; justify-content:center; }
  .hero-cta .btn{ flex:1 1 auto; justify-content:center; min-width:140px; }
  section{ padding: 56px 0; }
  .section-head{ margin-bottom: 32px; }
}

@media (max-width: 480px){
  .hero{ min-height: 560px; padding: 40px 0 56px; }
  .hero-surface{ padding: 26px 22px; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ width:100%; }
  .step{ padding-right: 0; }
  .gallery-grid .gallery-item img{ height: 200px; }
}

/* Hero tablet: tinggi menyesuaikan layar, tidak terlalu tinggi */
@media (min-width: 481px) and (max-width: 1080px){
  .hero{ min-height: min(66svh, 560px); padding: 44px 0 56px; }
}

/* =========================================================
   KELAS WARISAN - masih dipakai HTML, mengikuti token baru
   ========================================================= */

/* Eyebrow pada posisi lama "on-dark" (section gelap sudah tidak ada) */
.eyebrow.on-dark{ color: var(--color-secondary); }
.eyebrow.on-dark::before{ background: var(--color-secondary); }

/* Statement hero di halaman layanan (keamanan/kebersihan/HR) */
.hero.hero-statement{
  display:block;
  min-height:0;
  padding: 46px 0 42px;
  background: var(--color-surface);
  border-top:1px solid var(--color-border);
  border-bottom:1px solid var(--color-border);
}
.hero-centered{ max-width:760px; margin:0 auto; text-align:center; }
.statement-title{
  font-family: var(--font-display);
  text-transform:uppercase;
  color: var(--color-primary);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  letter-spacing:0.08em;
  margin:0 0 12px;
}
.statement-copy{
  max-width:640px;
  margin:0 auto 8px;
  color:var(--color-muted);
  font-size:0.95rem;
  line-height:1.6;
  text-align:center;
}

/* Judul & lead halaman dalam (client-record) */
.page-title{ margin-bottom:10px; }
.page-lead{ color: var(--color-muted); max-width:640px; }

/* Petunjuk kecil di bawah field (pendaftaran, modal admin) */
.field-hint{ font-size:0.76rem; color:var(--color-muted); }

/* Varian panel foto (tidak lagi memakai warna gelap) */
.photo-panel.alt{ background: var(--color-surface-alt); }
.photo-panel.alt .tag{ background: var(--color-bg); color: var(--color-secondary); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center{ text-align:center; }
.mt-40{ margin-top:40px; }

/* Input & select ≥16px pada perangkat sentuh agar iOS Safari tidak
   memperbesar halaman saat elemen fokus (mobile-native rule). */
@media (pointer: coarse){
  .job-toolbar input[type="search"],
  .job-toolbar select,
  .admin-toolbar input[type="search"],
  .admin-toolbar select{
    font-size: 16px;
  }
}

