/* ==========================================================================
   Gaya tambahan — dimuat setelah style.css dan animations.css
   ========================================================================== */

:root {
  --brand: #0066ff;
  --brand-dark: #0047b3;
  --accent: #ff9900;
  --navy: #001a4d;
  --bg: #0a0e27;
  --bg-alt: #070b1d;
  --surface: rgba(255, 255, 255, .04);
  --line: rgba(120, 170, 255, .16);
  --text: #f2f5fb;
  --muted: rgba(232, 238, 250, .68);
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .38);
  --max: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 29, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.navbar.is-scrolled { background: rgba(7, 11, 29, .96); }

.nav-container {
  max-width: var(--max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.logo a { display: flex; align-items: center; gap: 12px; }
.logo-img {
  height: 52px; width: 52px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0;
  transition: height .25s ease, width .25s ease;
}
.navbar.is-scrolled .logo-img { height: 44px; width: 44px; }
.logo-text {
  font-weight: 800; font-size: 19px; letter-spacing: .5px;
  color: var(--text); white-space: nowrap;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  font-family: inherit; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-link.active { color: var(--brand); background: rgba(0, 102, 255, .12); }

.nav-dropdown { position: relative; }
.dropdown-content {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #0d1330; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s ease;
}
.nav-dropdown.is-open .dropdown-content,
.nav-dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--muted); font-size: 15px;
}
.dropdown-content a:hover { background: rgba(0, 102, 255, .14); color: var(--text); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  text-align: center; transition: transform .18s ease, box-shadow .18s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(0, 102, 255, .3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 12px 30px rgba(0, 102, 255, .42); }

.btn-secondary { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: rgba(255, 255, 255, .1); color: var(--text); }

.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.btn-danger { background: rgba(220, 60, 60, .14); color: #ff8f8f; border-color: rgba(220, 60, 60, .35); }
.btn-danger:hover { background: rgba(220, 60, 60, .24); color: #ffb0b0; }

.btn-large { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 90px; text-align: center;
}
.hero-compact { min-height: 62vh; padding: 100px 24px 70px; }

.hero-image {
  background-image:
    linear-gradient(135deg, rgba(0, 20, 60, .84), rgba(5, 8, 22, .9)),
    url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner { max-width: 860px; animation: fadeUp .8s ease both; }

.hero-eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 30%, #6aa8ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin: 0 auto 36px; max-width: 620px;
  font-size: clamp(1rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .9);
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.scroll-arrow { font-size: 18px; animation: bobble 2s ease-in-out infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bobble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Judul halaman ---------- */
.page-header {
  padding: 90px 0 60px; text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 102, 255, .07), transparent);
}
.page-header h1 {
  margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.5px;
}
.page-header p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Section ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; }
.section-sub { margin: 0; color: var(--muted); font-size: 16px; }
.section-action { margin-top: 44px; text-align: center; }

/* ---------- Kartu ---------- */
.divisions-grid, .features-grid, .testimonials-grid, .post-grid, .value-grid {
  display: grid; gap: 22px;
}
.divisions-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.value-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 28px 0; }

.division-card, .feature-box, .testimonial-card, .post-card, .value-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.division-card { display: block; color: inherit; text-align: center; }
.division-card:hover, .feature-box:hover, .post-card:hover, .value-item:hover {
  transform: translateY(-5px); border-color: rgba(0, 102, 255, .42); box-shadow: var(--shadow);
}

.card-icon { font-size: 42px; margin-bottom: 14px; line-height: 1; }
.feature-icon { font-size: 34px; margin-bottom: 14px; line-height: 1; }

.division-card h3, .feature-box h3, .value-item h3 { margin: 0 0 10px; font-size: 20px; color: var(--text); font-weight: 700; }
.division-card p, .feature-box p, .value-item p { margin: 0; color: var(--muted); font-size: 15px; }

.card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--brand); }
.division-card:hover .card-link { color: var(--accent); }

.stars { color: var(--accent); font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }
.star-dim { color: rgba(255, 255, 255, .18); }
.testimonial-card { margin: 0; }
.testimonial-text { margin: 0 0 18px; font-style: italic; color: var(--text); font-size: 15.5px; border: 0; padding: 0; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author small { color: var(--muted); font-size: 13.5px; }

.post-card h2, .post-card h3 { margin: 10px 0; font-size: 20px; line-height: 1.35; }
.post-card h2 a, .post-card h3 a { color: var(--text); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brand); }
.post-card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.post-tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: rgba(0, 102, 255, .16); color: #7db2ff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
}
.post-meta { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }

/* ---------- Teks panjang ---------- */
.prose-wrap { max-width: 780px; }
.prose h2 { margin: 40px 0 14px; font-size: 26px; font-weight: 750; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 24px 0 10px; font-size: 19px; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 16.5px; }
.prose .lead { font-size: 19px; color: var(--text); }
.numbered-list { padding-left: 22px; margin: 0 0 20px; }
.numbered-list li { margin-bottom: 12px; color: var(--muted); font-size: 16px; }
.numbered-list strong { color: var(--text); }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.article-head { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-head h1 { margin: 14px 0 12px; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.2; }
.article-body p { font-size: 17px; line-height: 1.85; }
.article-foot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Bagian ajakan ---------- */
.cta-section {
  padding: 84px 0; text-align: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, .14), rgba(255, 153, 0, .07));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-section h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.cta-section p { margin: 0 0 28px; color: var(--muted); font-size: 17px; }

.contact-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.contact-strip h2 { margin: 0 0 8px; font-size: 22px; }
.contact-strip p { margin: 0; color: var(--muted); }
.contact-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Formulir ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: start; }
.contact-form-wrap h2, .info-card h2 { margin: 0 0 24px; font-size: 24px; font-weight: 750; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.req { color: var(--accent); }
.field-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: rgba(0, 102, 255, .08);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: #0d1330; color: var(--text); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; margin-bottom: 22px;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list.compact li { padding: 10px 0; }
.info-ico { font-size: 18px; flex-shrink: 0; line-height: 1.5; }
.info-list strong { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.info-list a, .info-list span:not(.info-ico) { font-size: 15px; color: var(--text); }
.info-list a:hover { color: var(--brand); }

/* ---------- Keadaan kosong ---------- */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-ico { font-size: 52px; margin-bottom: 16px; }
.empty-state h2 { margin: 0 0 10px; font-size: 22px; }
.empty-state p { margin: 0 0 24px; color: var(--muted); }
.empty-note { text-align: center; color: var(--muted); padding: 36px 0; }

.status-page { padding: 110px 0; text-align: center; }
.status-code {
  margin: 0; font-size: clamp(4.5rem, 15vw, 8rem); font-weight: 900;
  line-height: 1; color: var(--brand); opacity: .85;
}
.status-page h1 { margin: 10px 0 12px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.status-page p { margin: 0 0 28px; color: var(--muted); }
.error-detail {
  max-width: 640px; margin: 0 auto 24px; padding: 16px; text-align: left;
  background: rgba(255, 80, 80, .08); border: 1px solid rgba(255, 80, 80, .25);
  border-radius: 10px; font-size: 13px; color: #ffb0b0; overflow-x: auto;
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 72px; width: 72px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.footer-about { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 320px; }
.footer-section h4 { margin: 0 0 16px; font-size: 15px; color: var(--text); font-weight: 700; }
.footer-section ul { list-style: none; margin: 0; padding: 0; }
.footer-section li { margin-bottom: 10px; font-size: 14.5px; color: var(--muted); }
.footer-section a { color: var(--muted); }
.footer-section a:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13.5px; color: var(--muted); }
.footer-legal a { color: var(--muted); }

/* ---------- Notifikasi ---------- */
.toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 2000; max-width: 380px;
  padding: 15px 22px; border-radius: 11px; font-size: 14.5px; font-weight: 500;
  background: #131a3c; color: var(--text); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast-success { background: #0d3b26; border-color: rgba(60, 220, 140, .4); color: #a8f5cf; }
.toast-error { background: #3d1420; border-color: rgba(255, 100, 100, .4); color: #ffc0c0; }

/* ---------- Animasi masuk ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-shown { opacity: 1; transform: none; }

/* ==========================================================================
   Halaman login
   ========================================================================== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(135deg, rgba(0, 20, 60, .9), rgba(5, 8, 22, .96)),
    url('/images/hero-bg.jpg') center/cover no-repeat;
}
.auth-card {
  width: 100%; max-width: 420px; padding: 42px 36px;
  background: rgba(10, 15, 40, .9); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-logo { height: 76px; width: 76px; object-fit: cover; border-radius: 15px; margin-bottom: 16px; }
.auth-brand h1 { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.auth-brand p { margin: 0; color: var(--muted); font-size: 14px; }
.auth-back { margin: 24px 0 0; text-align: center; font-size: 14px; }
.auth-back a { color: var(--muted); }

/* ==========================================================================
   Panel administrasi
   ========================================================================== */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }

.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 12px 24px; background: var(--bg-alt); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.admin-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; }
.admin-logo { height: 38px; width: 38px; object-fit: cover; border-radius: 8px; }
.admin-topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-user { font-size: 14px; color: var(--muted); margin-right: 4px; }

.admin-body { display: grid; grid-template-columns: 232px 1fr; flex: 1; }

.admin-sidebar { background: var(--bg-alt); border-right: 1px solid var(--line); padding: 22px 14px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 5px; position: sticky; top: 84px; }
.admin-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 15px; border-radius: 9px; border: 0; background: none;
  color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 500;
  text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.admin-tab:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.admin-tab.is-active { background: rgba(0, 102, 255, .16); color: #7db2ff; font-weight: 600; }
.badge {
  min-width: 21px; padding: 2px 7px; border-radius: 999px;
  background: var(--accent); color: #1a1000; font-size: 11.5px; font-weight: 700; text-align: center;
}

.admin-main { padding: 32px; max-width: 1080px; }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; animation: fadeUp .35s ease both; }
.admin-panel h1 { margin: 0 0 24px; font-size: 27px; font-weight: 800; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h1 { margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card {
  padding: 24px 20px; text-align: center; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.stat-value { display: block; font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.stat-label { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.notice {
  padding: 16px 20px; margin-bottom: 22px; border-radius: 11px;
  background: rgba(0, 102, 255, .08); border-left: 3px solid var(--brand);
  font-size: 14.5px; color: var(--muted);
}
.notice strong { color: var(--text); }
.notice code { padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); font-size: 13px; }
.notice-warn { background: rgba(255, 153, 0, .1); border-left-color: var(--accent); }

.list { display: flex; flex-direction: column; gap: 12px; }
.loading { color: var(--muted); padding: 20px 0; }
.empty-block {
  padding: 44px 20px; text-align: center; color: var(--muted);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
}

.row-card {
  display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s;
}
.row-card:hover { border-color: rgba(0, 102, 255, .34); }
.row-card.is-new { border-left: 3px solid var(--accent); }
.row-main { flex: 1; min-width: 240px; }
.row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.row-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.row-meta { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.row-body { margin: 0; font-size: 14.5px; color: var(--muted); white-space: pre-wrap; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: rgba(255, 255, 255, .08); color: var(--muted); text-transform: capitalize;
}
.pill-new { background: rgba(255, 153, 0, .2); color: var(--accent); }

/* ---------- Modal ---------- */
.modal {
  display: none; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 5, 16, .8); backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal-card {
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  padding: 32px; border-radius: 16px;
  background: #0d1330; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: fadeUp .28s ease both;
}
.modal-wide { max-width: 680px; }
.modal-card h2 { margin: 0 0 24px; font-size: 21px; font-weight: 750; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

/* ==========================================================================
   Layar kecil
   ========================================================================== */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .admin-sidebar nav { flex-direction: row; overflow-x: auto; position: static; gap: 6px; }
  .admin-tab { white-space: nowrap; padding: 10px 14px; }
  .admin-main { padding: 22px 18px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px; background: #070b1d;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .nav-menu.is-open { max-height: 82vh; overflow-y: auto; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 16px; font-size: 16px; }
  .nav-dropdown { width: 100%; }
  .dropdown-toggle { width: 100%; text-align: left; }
  .dropdown-content {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; margin-top: 2px;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-dropdown.is-open .dropdown-content { max-height: 300px; }

  .hero, .hero-image { background-attachment: scroll; min-height: 78vh; padding: 90px 20px 70px; }
  .hero-compact { min-height: 52vh; }
  .section { padding: 58px 0; }
  .page-header { padding: 64px 0 44px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta-section { padding: 62px 0; }
  .contact-strip { flex-direction: column; align-items: flex-start; padding: 26px; }
  .row-card { flex-direction: column; }
  .row-actions { width: 100%; }
  .modal-card { padding: 24px 20px; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .logo-text { font-size: 16px; }
  .logo-img { height: 44px; width: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; }
  .admin-topbar { padding: 10px 16px; }
  .admin-topbar-right { width: 100%; justify-content: flex-start; }
}

/* ---------- Cetak & preferensi gerak ---------- */
@media print {
  .navbar, .footer, .hero-cta, .cta-section, .scroll-indicator, .toast { display: none !important; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Projects and clients
   ========================================================================== */

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 34px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { color: var(--text); border-color: rgba(0, 102, 255, .4); }
.filter-chip.is-active { background: rgba(0, 102, 255, .16); border-color: rgba(0, 102, 255, .5); color: #7db2ff; font-weight: 600; }
.filter-chip .count {
  min-width: 20px; padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); font-size: 11.5px; text-align: center;
}
.filter-chip.is-active .count { background: rgba(0, 102, 255, .3); }

.project-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.project-card {
  display: flex; flex-direction: column;
  padding: 26px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(0, 102, 255, .4); box-shadow: var(--shadow); }
.project-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.project-card h2, .project-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.project-client { margin: 0 0 4px; font-size: 14.5px; color: var(--muted); }
.project-client strong { color: var(--text); }
.project-partner { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); font-style: italic; }
.project-scope { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); }

.project-facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.project-facts li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }

.status-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.status-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { background: rgba(60, 220, 140, .16); color: #6ee7b0; }
.status-live::before { animation: pulseDot 1.8s ease-in-out infinite; }
.status-plan { background: rgba(255, 153, 0, .16); color: #ffbe57; }
.status-done { background: rgba(120, 170, 255, .16); color: #8fb8ff; }
.status-care { background: rgba(190, 140, 255, .16); color: #c9a4ff; }

@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.progress-wrap { margin-top: auto; padding-top: 14px; }
.progress-head {
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); margin-bottom: 7px;
}
.progress-bar {
  height: 7px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, .09);
}
.progress-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .6s ease;
}

.client-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.client-card {
  padding: 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.client-card:hover { transform: translateY(-4px); border-color: rgba(0, 102, 255, .4); }
.client-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.client-since { font-size: 12.5px; color: var(--muted); }
.client-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.client-meta { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.client-note { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

.pill-client { background: rgba(0, 102, 255, .18); color: #7db2ff; }
.pill-partner { background: rgba(60, 220, 140, .16); color: #6ee7b0; }
.pill-supplier { background: rgba(255, 153, 0, .16); color: #ffbe57; }
.pill-consortium { background: rgba(190, 140, 255, .16); color: #c9a4ff; }

.logo-strip {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.logo-chip {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 24px; border-radius: 12px; min-width: 180px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.logo-chip:hover { border-color: rgba(0, 102, 255, .4); transform: translateY(-3px); }
.logo-chip strong { font-size: 15px; color: var(--text); }
.logo-chip span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 560px) {
  .project-grid, .client-grid { grid-template-columns: 1fr; }
  .project-card, .client-card { padding: 22px 20px; }
  .logo-chip { width: 100%; }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.team-card {
  padding: 30px 26px; text-align: center; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(0, 102, 255, .42); box-shadow: var(--shadow); }

.team-avatar {
  width: 92px; height: 92px; margin: 0 auto 18px;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  border: 2px solid rgba(120, 170, 255, .28);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar span { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px; }

.team-card h3 { margin: 0 0 5px; font-size: 18px; font-weight: 700; }
.team-role { margin: 0 0 12px; font-size: 14px; color: var(--brand); font-weight: 600; }
.team-bio { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

.team-links { display: flex; gap: 14px; justify-content: center; }
.team-links a { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.team-links a:hover { color: var(--brand); }

/* Small avatar used in the admin list */
.row-avatar {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  border: 1px solid rgba(120, 170, 255, .28);
}
.row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.row-avatar span { font-size: 17px; font-weight: 700; color: #fff; }

@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
  .team-card { padding: 22px 16px; }
  .team-avatar { width: 74px; height: 74px; }
  .team-avatar span { font-size: 24px; }
}

/* Project summary counts on the front page */
.count-strip {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
  margin-top: 16px;
}
.count-item { font-size: 14px; color: var(--muted); }
.count-item strong { color: var(--brand); font-weight: 700; font-size: 16px; }
.section-action { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Photo picker in the team modal */
.photo-field { display: flex; gap: 16px; align-items: flex-start; }
.photo-preview {
  width: 86px; height: 86px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .05);
  border: 1px dashed var(--line);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview span { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 6px; }
.photo-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.photo-actions .field-hint { margin-top: 2px; }

/* Client logos */
.client-logo {
  height: 56px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: flex-start;
}
.client-logo img {
  max-height: 56px; max-width: 160px; width: auto; object-fit: contain;
  border-radius: 6px;
}
.chip-logo {
  height: 40px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
}
.chip-logo img { max-height: 40px; max-width: 120px; width: auto; object-fit: contain; border-radius: 4px; }
.logo-chip { align-items: center; text-align: center; }

/* Square preview for logos, round stays for people */
.preview-square { border-radius: 10px; }
.preview-square img { object-fit: contain; padding: 6px; }
.row-avatar-square { border-radius: 8px; }
.row-avatar-square img { object-fit: contain; padding: 4px; background: rgba(255, 255, 255, .06); }

/* Project photos and article images */
.project-image {
  margin: -26px -28px 18px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; height: 180px; background: rgba(255, 255, 255, .04);
}
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-image {
  display: block; margin: -30px -30px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; height: 180px; background: rgba(255, 255, 255, .04);
}
.post-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.post-card:hover .post-image img { transform: scale(1.04); }

.article-cover {
  margin: 0 0 28px; border-radius: var(--radius); overflow: hidden;
  background: rgba(255, 255, 255, .04);
}
.article-cover img { width: 100%; height: auto; display: block; }

/* Thumbnails in the admin lists */
.row-thumb {
  width: 76px; height: 58px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 560px) {
  .project-image { margin: -22px -20px 16px; height: 150px; }
  .post-image { margin: -22px -20px 16px; height: 150px; }
}

/* ==========================================================================
   Small-screen corrections
   ========================================================================== */

/* Long addresses and links must wrap instead of pushing the page sideways */
.info-list a,
.info-list span:not(.info-ico),
.footer-contact a,
.footer-contact li,
.client-card a,
.row-meta,
.row-meta a,
.row-body,
.prose p,
.article-body p,
.project-scope,
.client-note,
.team-bio,
.testimonial-text,
.post-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Nothing should ever be able to scroll the page sideways */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg { max-width: 100%; }

@media (max-width: 768px) {
  /* Comfortable tap targets */
  .btn-sm { padding: 11px 16px; font-size: 14px; }
  .filter-chip { padding: 11px 16px; font-size: 14px; }
  .team-links a { padding: 6px 0; display: inline-block; }
  .dropdown-content a { padding: 12px 14px; }

  /* Admin rows stack, so buttons get room */
  .row-actions .btn { flex: 1; min-width: 96px; }
  .row-thumb, .row-avatar { margin-bottom: 12px; }

  /* Forms are easier to use when fields are a touch taller */
  .field input, .field select, .field textarea { padding: 14px 15px; font-size: 16px; }

  /* Photo picker stacks rather than squeezing */
  .photo-field { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 560px) {
  /* Undo the earlier shrink: these were below a comfortable tap size */
  .filter-chip { padding: 12px 16px; font-size: 14px; }
  .filter-bar { gap: 8px; }

  /* Modals use the full height available */
  .modal { padding: 12px; align-items: flex-start; }
  .modal-card { max-height: calc(100vh - 24px); margin-top: 12px; }
  .modal-actions { position: sticky; bottom: 0; padding-top: 14px; background: #0d1330; }
  .modal-actions .btn { flex: 1; }

  /* Admin header wraps cleanly */
  .admin-topbar-right .btn { flex: 1; min-width: 88px; }
  .admin-user { width: 100%; }
}
