* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --primary:#0f0f14;
  --accent:#ff2d55;
  --light:#f5f5f7;
  --text:#1a1a1a;
  --gray:#777;
}
body{ font-family:'Poppins',sans-serif; color:var(--text); background:#fff; line-height:1.6; }
.container{ max-width:1200px; margin:0 auto; padding:0 24px; }
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }

/* NAVBAR */
.navbar{ position:fixed; top:0; width:100%; background:rgba(15,15,20,.95); backdrop-filter:blur(10px); z-index:1000; padding:14px 0; }
.nav-wrap{ display:flex; justify-content:space-between; align-items:center; }
.logo{ display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:1.3rem; }
.logo img{ height:40px; }
.logo .accent{ color:var(--accent); }
.navbar nav ul{ display:flex; gap:32px; list-style:none; }
.navbar nav a{ color:#ddd; font-weight:500; transition:.3s; position:relative; }
.navbar nav a:hover, .navbar nav a.active{ color:#fff; }
.navbar nav a.active::after{ content:''; position:absolute; bottom:-6px; left:0; width:100%; height:2px; background:var(--accent); }
.nav-toggle{ display:none; background:none; border:none; color:#fff; font-size:1.5rem; cursor:pointer; }

/* HERO SLIDER */
.hero{ position:relative; height:100vh; overflow:hidden; }
.slide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1s ease; display:flex; align-items:center; justify-content:center; }
.slide.active{ opacity:1; }
.overlay{ position:absolute; inset:0; background:linear-gradient(135deg, rgba(0,0,0,.75), rgba(15,15,20,.5)); }
.slide-content{ position:relative; text-align:center; color:#fff; max-width:800px; padding:0 24px; z-index:2; }
.slide-content h1{ font-size:clamp(2rem,5vw,4rem); font-weight:800; margin-bottom:16px; }
.slide-content p{ font-size:1.15rem; margin-bottom:32px; opacity:.9; }
.slider-dots{ position:absolute; bottom:32px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:3; }
.slider-dots span{ width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,.4); cursor:pointer; transition:.3s; }
.slider-dots span.active{ background:var(--accent); width:32px; border-radius:6px; }

/* BUTTON */
.btn-primary{ display:inline-block; background:var(--accent); color:#fff; padding:14px 34px; border-radius:50px; font-weight:600; transition:.3s; border:none; cursor:pointer; }
.btn-primary:hover{ background:#e01e47; transform:translateY(-2px); box-shadow:0 10px 30px rgba(255,45,85,.4); }
.btn-outline{ display:inline-block; border:2px solid var(--primary); padding:12px 32px; border-radius:50px; font-weight:600; transition:.3s; }
.btn-outline:hover{ background:var(--primary); color:#fff; }
.btn-mini{ color:var(--accent); font-weight:600; }
.btn-wa{ display:inline-block; background:#25D366; color:#fff; padding:14px 32px; border-radius:50px; font-weight:600; margin-top:16px; }

/* SECTIONS */
.section{ padding:100px 0; }
.section-title{ text-align:center; font-size:2.2rem; font-weight:700; margin-bottom:16px; }
.section-title::after{ content:''; display:block; width:60px; height:4px; background:var(--accent); margin:16px auto 0; border-radius:2px; }
.section-desc{ text-align:center; max-width:700px; margin:24px auto 32px; color:var(--gray); font-size:1.05rem; }
.section-title-left{ font-size:2rem; font-weight:700; margin-bottom:24px; }
.center{ text-align:center; }
.empty{ text-align:center; color:var(--gray); grid-column:1/-1; padding:60px 0; }

/* PAGE HEADER */
.page-header{ padding:160px 0 80px; background:linear-gradient(135deg, #0f0f14, #1c1c28); color:#fff; text-align:center; }
.page-header h1{ font-size:clamp(2rem,5vw,3rem); margin-bottom:12px; }
.page-header p{ opacity:.8; font-size:1.05rem; }

/* CLIENTS */
.clients-section{ background:var(--light); }
.clients-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:32px; margin-top:48px; align-items:center; }
.client-item{ background:#fff; padding:24px; border-radius:12px; transition:.3s; display:flex; align-items:center; justify-content:center; height:110px; }
.client-item:hover{ transform:translateY(-5px); box-shadow:0 10px 30px rgba(0,0,0,.08); }
.client-item img{ max-height:60px; filter:grayscale(1); opacity:.7; transition:.3s; }
.client-item:hover img{ filter:grayscale(0); opacity:1; }

/* CTA */
.cta{ background:linear-gradient(135deg,var(--accent),#ff5f7a); color:#fff; padding:80px 0; text-align:center; }
.cta h2{ font-size:2rem; margin-bottom:12px; }
.cta p{ margin-bottom:24px; opacity:.9; }
.cta .btn-primary{ background:#fff; color:var(--accent); }

/* ABOUT */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-list{ list-style:none; margin-top:24px; display:grid; gap:10px; }
.about-list li{ color:#333; font-weight:500; }
.about-img img{ border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.15); }

/* CREW */
.crew-section{ background:var(--light); }
.crew-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:32px; margin-top:48px; }
.crew-card{ background:#fff; border-radius:16px; padding:24px; text-align:center; transition:.3s; }
.crew-card:hover{ transform:translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,.1); }
.crew-photo{ width:130px; height:130px; margin:0 auto 16px; border-radius:50%; overflow:hidden; border:4px solid var(--accent); }
.crew-photo img{ width:100%; height:100%; object-fit:cover; }
.crew-card h3{ font-size:1.1rem; margin-bottom:4px; }
.crew-card .jabatan{ color:var(--accent); font-size:.9rem; font-weight:600; }

/* WORKS */
.filter-tabs{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:48px; }
.tab{ padding:10px 24px; border-radius:50px; background:var(--light); font-weight:500; transition:.3s; }
.tab:hover{ background:#e0e0e5; }
.tab.active{ background:var(--accent); color:#fff; }
.works-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:32px; }
.work-card{ background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.06); transition:.3s; }
.work-card:hover{ transform:translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,.12); }
.work-thumb{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.work-thumb img{ width:100%; height:100%; object-fit:cover; transition:.5s; }
.work-card:hover .work-thumb img{ transform:scale(1.08); }
.work-cat{ position:absolute; top:16px; left:16px; background:var(--accent); color:#fff; padding:6px 14px; border-radius:50px; font-size:.75rem; font-weight:600; text-transform:uppercase; }
.work-body{ padding:24px; }
.work-body h3{ margin-bottom:8px; font-size:1.15rem; }
.work-body p{ color:var(--gray); font-size:.9rem; margin-bottom:12px; }

/* CONTACT */
.contact-grid{ display:grid; grid-template-columns:2fr 1fr; gap:60px; margin-bottom:80px; }
/* CONTACT (lanjutan) */
.contact-form-wrap h2, .contact-info h2 { margin-bottom: 24px; font-size: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e5;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: .3s;
  background: #fafafa;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,45,85,.1);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; }

.alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert.success { background: #e6f9ed; color: #1a8a4a; border-left: 4px solid #1a8a4a; }
.alert.error { background: #fdecef; color: #c81e42; border-left: 4px solid #c81e42; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.contact-list li { color: #444; line-height: 1.7; }
.contact-list strong { color: var(--primary); display: block; margin-bottom: 4px; }

.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.1); margin-top: 40px; }
.map-wrap iframe { display: block; }

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: .3s;
  animation: waPulse 2s infinite;
}
.wa-float:hover { transform: scale(1.1); background: #20bd5a; }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.7); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 20px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* FOOTER */
.footer { background: var(--primary); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer h3 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #ccc; transition: .3s; font-size: 0.9rem; }
.footer ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: 0.85rem; color: #888; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .navbar nav ul { display: none; }
  .navbar nav ul.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .crew-grid { grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
}
@media (max-width: 480px) {
  .crew-photo { width: 100px; height: 100px; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}

.pagination a:hover {
  background: #ff2d55 !important;
  color: #fff !important;
  border-color: #ff2d55 !important;
  transition: .3s;
}

/* Client item yang tidak punya link — biar tidak "menggantung" */
.client-item.no-link {
  cursor: default;
}
.client-item.no-link:hover {
  transform: none;
  box-shadow: none;
}

.footer-sosmed {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-sosmed a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: .3s;
  text-decoration: none;
}
.footer-sosmed a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.sosmed-icon-link img {
  /* Tidak ada filter — icon berwarna asli */
  transition: transform .3s;
}

.sosmed-icon-link:hover img {
  transform: scale(1.15);
}

/* Editor TinyMCE */
.tox-tinymce {
  border-radius: 10px !important;
  border-color: #e0e0e5 !important;
}
.tinymce-editor.tinymce-ready {  /* ← hanya sembunyikan SETELAH TinyMCE aktif */
  position: absolute;
  visibility: hidden;
  height: 0;
  width: 0;
}