/* =====================================================================
   Neotek.ID | redesign v2
   Light blue canvas, white panels, satu aksen biru. Tanpa framework.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --canvas: #eef4fd;
  --card: #ffffff;
  --surface: #f6f9ff;
  --text: #0b1b3a;
  --muted: #67788f;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e6eefe;
  --border: #e2eaf7;
  --star: #f5a524;
  --shadow-sm: 0 1px 2px rgba(11, 27, 58, .05);
  --shadow-md: 0 10px 30px rgba(11, 27, 58, .07);
  --shadow-lg: 0 24px 60px rgba(11, 27, 58, .12);
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --space: clamp(64px, 8vw, 104px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1rem; }

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

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

.section { padding-block: var(--space); }
.section--white { background: var(--card); }
.section--flush { padding-top: 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.section-head h2 { margin-bottom: 14px; }

/* judul dua warna, seperti referensi */
.dim { color: #9aa8bf; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px;
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { color: var(--accent); }
.btn--outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn--outline:hover { color: var(--accent); border-color: #c9d9f5; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.03em;
  color: var(--text);
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand img { height: 32px; width: auto; border-radius: 8px; }

.nav ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--muted);
  font-size: .93rem;
  font-weight: 500;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 5px;
}
@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background .18s, color .18s, box-shadow .18s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}
.lang-divider {
  color: #cbd5e1;
  font-size: .75rem;
  user-select: none;
}

@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 76px 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 28px 22px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:hover, .nav a.is-active { border-bottom-color: var(--border); }
  .nav__cta { display: block; margin-top: 18px; }
  .nav__cta a { border: 0; padding: 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr 1fr; } }

.hero h1 { margin-bottom: 22px; }
.hero__text > p { color: var(--muted); font-size: 1.05rem; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }

.trusted {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}
.trusted__label { font-size: .88rem; color: var(--muted); margin: 0; }
.trusted__logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px); }
.trusted__logos img {
  height: 54px;
  mix-blend-mode: multiply;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .2s, opacity .2s;
}
.trusted__logos img:hover { filter: none; opacity: 1; }

/* visual kanan + kartu mengambang */
.hero__visual { position: relative; }
.hero__shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.hero__shot img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }

.float-card {
  position: absolute;
  max-width: min(290px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.float-card__icon svg { width: 17px; height: 17px; }
.float-card__text { display: block; }
.float-card__text strong { display: block; font-size: .84rem; line-height: 1.3; color: var(--text); }
.float-card__text span { display: block; font-size: .74rem; color: var(--muted); }
.float-card--tl { top: -22px; left: -18px; }
.float-card--br { bottom: -24px; right: -14px; }
@media (max-width: 720px) {
  .float-card { padding: 10px 13px; }
  .float-card--tl { top: -14px; left: 6px; }
  .float-card--br { bottom: -16px; right: 6px; }
}

/* ---------- Layanan ---------- */
.features {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: center;
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; max-width: 330px; margin-inline: auto; }

/* ---------- Tentang ---------- */
.about {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; } }

.about__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 260px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

.about__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__panel p { color: var(--muted); }
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 5px; }
.checklist span { color: var(--muted); font-size: .95rem; }

.about__action { margin-top: 28px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; justify-content: center; }
.filter {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.filter:hover { color: var(--text); border-color: #c9d9f5; }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.work { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.work__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.work__item:hover { border-color: #c9d9f5; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.work__item[hidden] { display: none; }

.work__thumb { display: block; aspect-ratio: 16 / 11; background: var(--surface); overflow: hidden; }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.work__item:hover .work__thumb img { transform: scale(1.04); }
.work__thumb--contain img { object-fit: contain; object-position: center; padding: 14px; background: var(--surface); }

.work__meta { display: block; padding: 16px 20px 20px; }
.work__title { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 3px; }
.work__tag { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(11, 27, 58, .82);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }

/* ---------- Testimoni ---------- */
.quotes {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;
}

.quote-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--star); margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; }
.quote-card blockquote { margin: 0 0 24px; font-size: .98rem; line-height: 1.7; color: #33445e; }
.quote__person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote__name { font-weight: 600; font-size: .95rem; }
.quote__role { font-size: .84rem; color: var(--muted); }

/* kartu yang masih menunggu testimoni asli */
.quote-card--todo {
  border-style: dashed;
  border-color: #c9d9f5;
  background: transparent;
  box-shadow: none;
}
.quote-card--todo .stars { color: #c9d9f5; }
.quote-card--todo blockquote { color: var(--muted); font-style: italic; }
.quote__avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
  flex: none;
}
.quote__todo-note {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 580px; margin-inline: auto; }
.cta-band .btn { background: #fff; color: var(--accent-dark); box-shadow: none; margin-top: 26px; }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Kontak ---------- */
.contact { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .contact { grid-template-columns: .85fr 1.15fr; } }

.contact__info h2 { margin-bottom: 14px; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 4px; }
.contact__list span { color: var(--muted); font-size: .95rem; }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit;
  font-size: .94rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form__status { font-size: .9rem; margin: 0; }
.form__status[hidden] { display: none; }
.form__status.is-error { color: #b42318; }
.form__status.is-ok { color: #067647; }

/* ---------- Tombol Kontak Langsung (WhatsApp & Gmail) ---------- */
.contact-options-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}
.contact-options-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.contact-options-card p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 24px;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-btn--wa {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .25);
}
.contact-btn--wa:hover {
  background: #20bd5a;
  color: #ffffff;
}
.contact-btn--gmail {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 4px 14px rgba(11, 27, 58, .06);
}
.contact-btn--gmail:hover {
  border-color: #ea4335;
  color: #ea4335;
}
.contact-btn__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.contact-btn__text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.contact-btn__text span {
  display: block;
  font-size: .85rem;
  opacity: .9;
  font-weight: 400;
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.footer { background: var(--card); border-top: 1px solid var(--border); padding-block: 56px 28px; }
.footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 40px;
}
.footer__brand { max-width: 280px; }
.footer__brand .brand { margin: 0 0 14px; }
.footer h4 { font-size: .92rem; margin-bottom: 16px; }
.footer p, .footer a, .footer li { color: var(--muted); font-size: .91rem; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: .86rem;
  color: var(--muted);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 50;
}
.to-top.is-visible { display: flex; }
.to-top:hover { background: var(--accent-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
