/* ============================================================
   PT Hanz Kode Terpadu — Company Page
   Warm institutional design. Light, professional, distinctive.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --ink: #1A1A2E;
  --paper: #FAFAF7;
  --surface: #FFFFFF;
  --muted: #64748B;
  --border: #E2E8F0;
  --brand: #1E3A5F;
  --copper: #C2884E;
  --copper-hover: #A8703A;
  --copper-light: rgba(194,136,78,.08);
  --green: #16a34a;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1100px;
  --ease: all .25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* Skip */
.skip { position: fixed; top: 0; left: 1rem; z-index: 9999; padding: .7rem 1.4rem; background: var(--brand); color: #fff; font-weight: 700; border-radius: 0 0 var(--radius) var(--radius); transform: translateY(-100%); transition: transform .2s; }
.skip:focus { transform: translateY(0); outline: 3px solid var(--copper); outline-offset: 2px; }

/* Container */
.w { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ─── Navbar ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.nav .w { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; color: var(--brand); }
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: .85rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  background: var(--copper); color: #fff; padding: .5rem 1.1rem;
  border-radius: var(--radius); font-weight: 600; font-size: .82rem;
  transition: background .2s;
}
.nav-links .nav-cta:hover { background: var(--copper-hover); color: #fff; }
.nav-toggle { display: none; font-size: 1.4rem; color: var(--ink); z-index: 201; position: relative; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem; transition: var(--ease);
}
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-hover); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.85); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ─── Section shared ─── */
.sec { padding: 5rem 0; }
.sec-alt { background: var(--surface); }
.sec-label {
  display: inline-block; font-family: var(--mono); font-size: .72rem;
  color: var(--copper); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600; margin-bottom: .75rem;
}
.sec-title {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400; color: var(--brand); margin-bottom: .5rem; line-height: 1.3;
}
.sec-sub { color: var(--muted); font-size: .92rem; max-width: 560px; line-height: 1.7; }
.sec-header { margin-bottom: 2.5rem; }

/* ─── Hero ─── */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  padding: 7rem 0 4rem; position: relative;
  background: #0f172a url('../brosur/pt-bg.png') center center / cover no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(15,23,42,.78);
  pointer-events: none;
}
.hero .w { position: relative; z-index: 2; }
.hero-inner { max-width: 640px; }
.hero-label {
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  color: var(--copper); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.25rem; display: block;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; line-height: 1.15; color: #fff;
  margin-bottom: 1.25rem;
}
.hero .lead {
  font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 480px;
  line-height: 1.8; margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-rule {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 200px; background: rgba(255,255,255,.15); display: none;
  z-index: 2;
}
@media (min-width: 1024px) { .hero-rule { display: block; right: 80px; } }

/* ─── About ─── */
.about-text { max-width: 720px; }
.about-text p { font-size: .95rem; color: var(--muted); line-height: 1.85; }
.about-text p + p { margin-top: 1rem; }
.about-text strong { color: var(--ink); font-weight: 600; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem;
}
.stat {
  text-align: center; padding: 1.5rem 1rem; background: var(--surface);
}
.stat-num {
  font-family: var(--serif); font-size: 2rem; color: var(--brand);
}
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ─── Service categories ─── */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.svc-cat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; transition: var(--ease);
}
.svc-cat:hover { border-color: var(--copper); box-shadow: 0 4px 20px rgba(194,136,78,.06); }
.svc-cat h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 400;
  color: var(--brand); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem;
}
.cat-tag {
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  padding: .2rem .55rem; border-radius: 3px; letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-ai { background: rgba(30,58,95,.08); color: var(--brand); }
.tag-custom { background: rgba(22,163,74,.08); color: var(--green); }
.tag-infra { background: rgba(194,136,78,.08); color: var(--copper); }
.svc-cat li {
  padding: .45rem 0; border-bottom: 1px solid rgba(0,0,0,.04);
  font-size: .88rem; color: var(--muted); line-height: 1.6;
}
.svc-cat li:last-child { border-bottom: none; }
.svc-cat li b { color: var(--ink); font-weight: 600; }

/* ─── SaaS Live cards ─── */
.saas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.saas-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--ease);
}
.saas-card:hover { border-color: var(--copper); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.saas-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.saas-dot { display: flex; align-items: center; gap: .35rem; }
.saas-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.saas-dot span { font-family: var(--mono); font-size: .68rem; color: var(--green); font-weight: 600; }
.saas-badge {
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  background: rgba(30,58,95,.06); color: var(--brand);
  padding: .2rem .55rem; border-radius: 3px; text-transform: uppercase;
}
.saas-badge.ent { background: var(--copper-light); color: var(--copper); }
.saas-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.saas-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.saas-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 600; color: var(--copper);
  transition: color .2s;
}
.saas-link:hover { color: var(--copper-hover); }
.saas-tech { margin-top: .6rem; font-family: var(--mono); font-size: .7rem; color: var(--muted); }

/* ─── Why / Procurement / Mitra ─── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why-card {
  padding: 1.5rem 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: var(--ease);
}
.why-card:hover { border-color: var(--copper); }
.why-icon { margin-bottom: .75rem; }
.why-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; color: var(--brand); }
.why-card p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

.proc-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem;
}
.proc-cell { padding: 1.25rem; background: var(--surface); }
.proc-cell .plbl { font-family: var(--mono); font-size: .68rem; color: var(--copper); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.proc-cell h4 { font-size: .88rem; font-weight: 700; margin-bottom: .25rem; color: var(--brand); }
.proc-cell p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

.mitra-box {
  margin-top: 2.5rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; background: var(--surface);
}
.mitra-box h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--brand); margin-bottom: 1rem; }
.mitra-items { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.mitra-item h4 { font-size: .88rem; font-weight: 700; color: var(--copper); margin-bottom: .2rem; }
.mitra-item p { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ─── Legal ─── */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; }
.legal-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.legal-card .check { color: var(--green); font-size: 1rem; flex-shrink: 0; }
.legal-card .lbl { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.legal-card .val { font-weight: 600; font-size: .85rem; color: var(--ink); }
.legal-card .val a { color: var(--copper); border-bottom: 1px solid rgba(194,136,78,.3); }
.legal-card .val a:hover { color: var(--copper-hover); }
.legal-note {
  grid-column: 1 / -1; padding: .85rem 1rem;
  background: rgba(30,58,95,.03); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--muted); font-size: .85rem; line-height: 1.65;
}

/* Doc cards */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.doc-card {
  display: block; padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--ease);
}
.doc-card:hover { border-color: var(--copper); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.doc-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; color: var(--brand); }
.doc-card p { font-size: .83rem; color: var(--muted); line-height: 1.55; margin-bottom: .6rem; }
.doc-card .arrow { color: var(--copper); font-weight: 600; font-size: .82rem; }

/* ─── CTA ─── */
.cta-box {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 3rem 2rem; max-width: 560px; margin: 0 auto;
  text-align: center; background: var(--surface);
}
.cta-box h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--brand); margin-bottom: .6rem; }
.cta-box > p { color: var(--muted); margin-bottom: 1.5rem; font-size: .92rem; }
.form-group { margin-bottom: .85rem; text-align: left; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .25rem; color: var(--ink); }
.form-group .req { color: #dc2626; }
.form-group input, .form-group textarea {
  width: 100%; padding: .6rem .85rem; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--ink); font-size: .88rem; font-family: var(--sans); transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--copper); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.form-submit {
  width: 100%; padding: .7rem; background: var(--copper); color: #fff;
  border: none; border-radius: var(--radius); font-weight: 700;
  font-size: .88rem; cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--copper-hover); }
.cta-contact {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}

/* ─── Footer ─── */
.foot { padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--border); }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand img { height: 48px; margin-bottom: .6rem; }
.foot-brand p { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.foot-links { display: flex; gap: 2.5rem; }
.foot-col h4 { font-size: .8rem; font-weight: 700; margin-bottom: .5rem; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.foot-col a { display: block; font-size: .82rem; color: var(--muted); padding: .15rem 0; transition: color .2s; }
.foot-col a:hover { color: var(--copper); }
.foot-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); text-align: center; }

/* ─── Fade in ─── */
.fi { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fi.show { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .saas-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .proc-strip { grid-template-columns: 1fr 1fr; }
  .mitra-items { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .saas-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .proc-strip { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-links {
    display: none; position: fixed; inset: 0; z-index: 200;
    background: #FAFAF7;
    flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--ink); }
  .nav-links .nav-cta { font-size: .9rem; padding: .65rem 1.5rem; }
  .nav-toggle { display: block; }

  .foot-inner { flex-direction: column; }
  .foot-links { gap: 2rem; }
  .cta-box { padding: 2rem 1.25rem; }
  .cta-contact { flex-direction: column; align-items: center; gap: .5rem; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .proc-strip { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .mitra-items { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fi { opacity: 1; transform: none; transition: none; }
  .saas-card:hover, .svc-cat:hover, .doc-card:hover, .why-card:hover { transform: none; }
}
