/* ============================================================
   GRAHA KARYA — shared site styles
   Matches the live tokograhakarya.co.id visual identity:
   deep navy surfaces, gold/amber accent, WhatsApp green CTA,
   rounded hero card with subtle grid texture, pill nav/badges.
   ============================================================ */

:root {
  --navy-900: #0F1930;
  --navy-800: #16213F;
  --navy-700: #1C2A4D;
  --gold: #F0A93C;
  --gold-dark: #D9922A;
  --green: #2FBD63;
  --green-dark: #26A854;
  --ink: #15213D;
  --muted: #667085;
  --muted-on-dark: #AEB9D4;
  --bg-light: #F5F6F8;
  --paper: #FFFFFF;
  --line: #E4E7EC;
  --radius: 12px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-family: 'Poppins', 'Inter', sans-serif; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--navy-900);
  color: var(--paper);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.logo-text .accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted-on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  display: inline-block;
}

.nav-links a:hover { color: var(--paper); background: rgba(255,255,255,0.06); }

.nav-links a[aria-current="page"] {
  color: var(--paper);
  background: var(--navy-700);
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--paper);
  width: 40px;
  height: 36px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px auto;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s var(--ease);
  }
  .nav-links.open { max-height: 340px; padding: 0.5rem 1.5rem 1.25rem; }
  .nav-links a { border-radius: 8px; padding: 0.75rem 1rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.15s var(--ease), transform 0.1s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { filter: brightness(1.06); }

.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: var(--green-dark); }

.btn-outline { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--bg-light); }

.btn-outline.on-dark { border-color: rgba(255,255,255,0.28); color: var(--paper); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.06); }

/* ---------- hero (rounded navy card) ---------- */
.hero-section { padding: 2.5rem 0 3rem; background: var(--paper); }

.hero-card {
  position: relative;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-card.compact { padding: 2.6rem 2.2rem; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(240,169,60,0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.badge-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-card h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--paper);
}
.hero-card h1 .accent { color: var(--gold); }

.hero-card p.sub {
  margin-top: 1.3rem;
  max-width: 54ch;
  color: var(--muted-on-dark);
  font-size: 1.02rem;
}

.hero-card .btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.4rem; }
.hero-dots span { width: 22px; height: 6px; border-radius: 999px; background: var(--line); }
.hero-dots span.active { background: var(--gold); }

/* ---------- brand logo strip ---------- */
.brand-strip { padding: 2.4rem 0; background: var(--paper); }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 1.6rem; }
.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0.85;
}

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt { background: var(--bg-light); }

.section-head { max-width: 640px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 700; }
.section-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.02rem; }

/* ---------- feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }

.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; }
.feature-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(240,169,60,0.12);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.feature-card .icon-wrap svg { color: var(--gold-dark); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; }
.feature-card p { margin-top: 0.55rem; color: var(--muted); font-size: 0.92rem; }

/* ---------- category chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.2rem; }
.chip {
  display: inline-flex; align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(240,169,60,0.06); }

/* ---------- numbered step list (real sequence) ---------- */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; margin-top: 2.6rem; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem; }
.step .num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy-900); color: var(--gold);
  display: grid; place-items: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; }
.step p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }

/* ---------- draft / note ---------- */
.badge-note {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(240,169,60,0.14); color: var(--gold-dark);
  font-size: 0.76rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.draft-note {
  margin-top: 2.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  background: var(--bg-light);
  font-size: 0.9rem;
  color: var(--ink);
}
.draft-note strong { color: var(--gold-dark); }

/* ---------- info block (company profile) ---------- */
.info-block { margin-bottom: 2.4rem; }
.info-block h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.9rem; }
.info-block p { color: var(--muted); margin-bottom: 0.6rem; }
.info-block ul { margin: 0.6rem 0 0; }
.info-block li { margin-bottom: 0.5rem; color: var(--muted); padding-left: 1.3rem; position: relative; }
.info-block li::before { content: "•"; color: var(--gold); position: absolute; left: 0; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; margin-top: 1rem; }
.kv-grid .kv { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--bg-light); }
.kv-grid .kv .k { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-dark); }
.kv-grid .kv .v { margin-top: 0.35rem; font-size: 0.95rem; font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: var(--paper); padding: 3.5rem 0; text-align: center; border-radius: var(--radius-lg); }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; max-width: 32ch; margin: 0 auto; }
.cta-band p { margin-top: 0.8rem; color: var(--muted-on-dark); }
.cta-band .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta-wrap { padding: 0 1.5rem 4.5rem; max-width: var(--maxw); margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: var(--muted-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2rem; }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 1.5rem; }
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a { font-size: 0.9rem; line-height: 1.75; }
.footer-col li { margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col a { text-decoration: none; color: var(--muted-on-dark); }
.footer-col a:hover { color: var(--paper); }
.footer-col .tagline { color: var(--paper); font-weight: 600; margin-bottom: 0.3rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0 2rem;
  font-size: 0.82rem;
  color: var(--muted-on-dark);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
}
.footer-bottom a { text-decoration: none; color: var(--muted-on-dark); }
.footer-bottom a:hover { color: var(--paper); }
