/* ===== PT. Bandha Insan Mandiri — Company Profile ===== */
:root {
  --primary: #0b3d91;
  --primary-dark: #072a63;
  --primary-light: #1c5bd6;
  --accent: #f5a623;
  --accent-dark: #d98e12;
  --navy: #0a2540;
  --ink: #1f2937;
  --muted: #5b6b82;
  --bg: #ffffff;
  --bg-alt: #f2f6fc;
  --line: #e3eaf4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 61, 145, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 61, 145, 0.16);
  --container: 1140px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(11, 61, 145, 0.30); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.btn-nav { background: var(--accent); color: var(--navy); padding: 9px 20px; }
.btn-nav:hover { background: var(--accent-dark); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; color: var(--navy); }
.brand-text small { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.02em; }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: block;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 50px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--primary); background: rgba(11,61,145,0.07); }
.nav-link.active { color: var(--primary); }

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

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  padding-top: 74px;
  background: var(--navy);
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 1.1s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  will-change: transform;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 80px 0 40px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(6,20,46,0.45);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(6,20,46,0.45);
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.97);
  max-width: 620px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(6,20,46,0.6);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.stat { text-align: center; }

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 118px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 10px; height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-dots button.active { width: 30px; border-radius: 50px; background: #fff; border-color: #fff; }
.hero-dots button:hover { background: rgba(255,255,255,0.6); }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(11,61,145,0.08);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* ===== Tentang ===== */
.tentang-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.tentang-text p { margin-bottom: 16px; color: var(--muted); }
.tentang-note {
  background: rgba(11,61,145,0.06);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy) !important;
  font-weight: 500;
}
.tentang-card img { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 420px; width: 100%; object-fit: cover; }

.visi-misi { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.visi-card, .misi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.vm-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: 1.4rem;
  border-radius: 14px;
  margin-bottom: 18px;
}
.visi-card h3, .misi-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 12px; }
.visi-card p { color: var(--muted); }
.misi-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}
.misi-card li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Layanan ===== */
.layanan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.layanan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.layanan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.layanan-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(11,61,145,0.12);
  position: absolute; top: 18px; right: 26px;
  line-height: 1;
}
.layanan-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 14px; position: relative; }
.layanan-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.layanan-card li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

/* ===== Portofolio ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.5s ease both;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb { height: 210px; overflow: hidden; background: var(--bg-alt); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-body { padding: 18px 20px 22px; }
.project-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(11,61,145,0.08);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.project-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.project-body p { font-size: 0.85rem; color: var(--muted); }
.project-photos { display: none; }

.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== Daftar Proyek ===== */
.proyek-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.proyek-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.proyek-tab:hover { border-color: var(--primary); color: var(--primary); }
.proyek-tab.active { background: var(--accent); color: var(--navy); border-color: var(--accent); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.proyek-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.proyek-table th {
  background: var(--primary);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.proyek-table td { padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.93rem; }
.proyek-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.proyek-table tbody tr:hover { background: rgba(11,61,145,0.05); }
.status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.status.selesai { background: #e5f6ec; color: #15803d; }
.status.progress { background: #fef3c7; color: #b45309; }

/* ===== Legalitas ===== */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin-inline: auto; }
.legal-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.legal-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.legal-item img { border-radius: 8px; width: 100%; height: 420px; object-fit: contain; background: var(--bg-alt); }
.legal-item figcaption { text-align: center; padding: 12px 0 4px; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.legal-note { text-align: center; color: var(--muted); max-width: 640px; margin: 28px auto 0; }

/* ===== Kontak ===== */
.kontak-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.kontak-info { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.info-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  border-radius: 12px;
  font-size: 1.1rem;
}
.info-item h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: var(--muted); font-size: 0.92rem; }
.info-item a:hover { color: var(--primary); }

.kontak-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: #fbfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,61,145,0.12);
  background: #fff;
}
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.9rem; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #c6d2e4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #93a5c0; }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; color: #a9b8cf; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-col li, .footer-col a { font-size: 0.9rem; color: #a9b8cf; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); }
.footer-bottom p { padding: 20px 0; text-align: center; font-size: 0.85rem; color: #8ba0bd; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(4, 16, 36, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-content { max-width: min(1080px, 88vw); max-height: 88vh; text-align: center; }
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-caption { color: #fff; margin-top: 16px; font-size: 0.95rem; font-weight: 600; }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  font-size: 1.6rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lightbox button:hover { background: var(--primary); }
.lightbox-close { top: 24px; right: 28px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ===== Polish ===== */
::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #eef2f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--primary-dark));
  border-radius: 20px;
  border: 3px solid #eef2f9;
}

a:focus-visible,
button:focus-visible,
.project-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11,61,145,0.4);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-light); }

/* Hero Ken Burns */
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.hero-slide { animation: kenburns 12s ease-in-out infinite alternate; }
.hero-slide:nth-child(2) { animation-delay: -4s; }
.hero-slide:nth-child(3) { animation-delay: -8s; }

/* Buttons polish */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.22), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }
.btn-primary { box-shadow: 0 10px 26px rgba(11,61,145,0.35); }

/* Alt section pattern */
.section-alt {
  position: relative;
  background: linear-gradient(180deg, #f2f6fc 0%, #ecf2fb 100%);
}
.section-alt::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,61,145,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.section-alt .container { position: relative; z-index: 1; }

/* Section head decorative underline */
.section-tag { position: relative; }
.section-title { position: relative; padding-bottom: 14px; }
.section-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 64px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Tentang decorative frame */
.tentang-card { position: relative; z-index: 0; }
.tentang-card::before {
  content: '';
  position: absolute;
  inset: 16px -18px -18px 16px;
  border: 2px solid rgba(11,61,145,0.18);
  border-radius: var(--radius);
  z-index: -1;
}

/* Visi & misi polish */
.visi-card, .misi-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.visi-card:hover, .misi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Layanan top accent */
.layanan-card { overflow: hidden; }
.layanan-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.layanan-card:hover::before { transform: scaleX(1); }

/* Project thumbnail overlay */
.project-thumb { position: relative; }
.project-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,42,99,0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-card:hover .project-thumb::after { opacity: 1; }

/* Project card polish */
.project-card { position: relative; }
.project-card:hover { box-shadow: 0 26px 60px rgba(11,61,145,0.2); }
.project-body h3 { transition: color 0.2s ease; }
.project-card:hover .project-body h3 { color: var(--primary); }

/* Stat polish */
.stat strong {
  background: linear-gradient(120deg, #ffd479, #f5a623);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Kontak info polish */
.info-item { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.info-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Kontak form submit button */
.kontak-form .btn { width: 100%; }

/* Footer link polish */
.footer-col a { transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-col a:hover { padding-left: 4px; }

/* Table polish */
.proyek-table th:first-child { border-top-left-radius: var(--radius); }
.proyek-table th:last-child { border-top-right-radius: var(--radius); }
.table-wrap { transition: box-shadow 0.25s ease; }
.table-wrap:hover { box-shadow: var(--shadow-lg); }

/* Filter / tab polish */
.filter-btn, .proyek-tab { transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.filter-btn:hover, .proyek-tab:hover { transform: translateY(-2px); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-slides { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .tentang-grid { grid-template-columns: 1fr; }
  .tentang-card img { height: 320px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .hero-dots { bottom: 192px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(10,37,64,0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; }
  .nav-link { padding: 13px 16px; border-radius: 10px; }
  .visi-misi { grid-template-columns: 1fr; }
  .layanan-grid { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-item img { height: 320px; }
  .hero-title { font-size: 2rem; }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
