/* ==========================================================================
   Gerak Mitra — design system (2026)
   Editorial B2B: serif display + sans UI, off-white, navy + aksen emas.
   ========================================================================== */

:root {
  --ink: #0b1b2b;
  --ink-2: #22374b;
  --muted: #5b6b7a;
  --line: #e3e6e3;
  --line-2: #cfd6d2;
  --bg: #fbfbf9;
  --surface: #ffffff;
  --brand: #0b3b6f;
  --brand-2: #1677c8;
  --brand-soft: #eaf1f8;
  --gold: #b9873f;
  --gold-soft: #f4ead9;
  --ok: #0f7b3f;
  --danger: #b42318;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.05);
  --shadow: 0 18px 40px -24px rgba(11, 27, 43, 0.35);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.gm {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; }
p { margin: 0; }

.gm-wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- eyebrow & section head ---------- */
.gm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.gm-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.gm-lede {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.7;
}
.gm-section { padding: clamp(56px, 8vw, 104px) 0; }
.gm-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.gm-section--line { border-top: 1px solid var(--line); }
.gm-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.gm-head h2 { max-width: 22ch; }
.gm-head__aside { max-width: 34ch; }

/* ---------- buttons ---------- */
.gm-btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.gm-btn:hover { background: #092f59; color: #fff; transform: translateY(-1px); }
.gm-btn:active { transform: translateY(0); }
.gm-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.gm-btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.gm-btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand);
}
.gm-btn--light:hover { background: #f1f4f7; color: var(--brand); }
.gm-btn--wa {
  --btn-bg: #128c7e;
}
.gm-btn--wa:hover { background: #0f7a6d; }
.gm-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.gm-btn svg { width: 17px; height: 17px; flex: none; }

.gm-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
}
.gm-link-arrow svg { transition: transform 0.18s ease; }
.gm-link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.gm-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 251, 249, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.gm-header.is-stuck { border-bottom-color: var(--line); }
.gm-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.gm-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.gm-logo img { height: 38px; width: auto; }
.gm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.gm-nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.gm-nav a:hover { background: #eef1ef; color: var(--ink); }
.gm-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.gm-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.gm-cart-link__label { display: none; }
@media (min-width: 901px) { .gm-cart-link__label { display: inline; } }
.gm-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.gm-cart-link:hover { border-color: var(--ink); color: var(--ink); }
.gm-cart-count {
  display: none;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  place-items: center;
}
.gm-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.gm-burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  margin: 3.4px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.gm-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 0 20px;
}
.gm-mobile a {
  display: block;
  padding: 12px 2px;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.gm-mobile .gm-btn { margin-top: 16px; width: 100%; }

@media (max-width: 900px) {
  .gm-nav { display: none; }
  .gm-burger { display: grid; }
  .gm-header__actions .gm-btn { display: none; }
  .gm-header.is-open .gm-mobile { display: block; }
}

/* ---------- hero ---------- */
.gm-hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 76px);
  overflow: hidden;
}
.gm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.gm-hero h1 { margin: 18px 0 20px; }
.gm-hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.gm-hero .gm-lede { margin-bottom: 30px; }
.gm-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.gm-hero__trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.gm-hero__trust div { font-size: 13.5px; color: var(--muted); }
.gm-hero__trust strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  line-height: 1.1;
}

.gm-hero__media {
  position: relative;
  min-height: 420px;
}
.gm-hero__media img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}
.gm-hero__main {
  height: 460px;
  box-shadow: var(--shadow);
}
.gm-hero__sub {
  position: absolute;
  right: -14px;
  bottom: -34px;
  width: 46%;
  height: 210px;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.gm-hero__tag {
  position: absolute;
  left: -18px;
  bottom: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--ink-2);
  max-width: 220px;
  line-height: 1.45;
}
.gm-hero__tag strong { display: block; color: var(--ink); font-size: 13.5px; }

@media (max-width: 900px) {
  .gm-hero__grid { grid-template-columns: 1fr; }
  .gm-hero__media { min-height: 0; margin-top: 8px; }
  .gm-hero__main { height: 300px; }
  .gm-hero__sub { position: static; width: 100%; height: 160px; border: 0; margin-top: 12px; }
  .gm-hero__tag { display: none; }
}

/* ---------- kategori ---------- */
.gm-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.gm-cat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.gm-cat:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.gm-cat svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.6; }
.gm-cat strong { font-size: 15px; font-weight: 700; }
.gm-cat span { font-size: 12.5px; color: var(--muted); }

/* ---------- produk ---------- */
.gm-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.gm-prod {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  color: var(--ink);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.gm-prod:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.gm-prod__media {
  aspect-ratio: 4 / 3;
  background: #f1f3f1;
  overflow: hidden;
  position: relative;
}
.gm-prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gm-prod:hover .gm-prod__media img { transform: scale(1.04); }
.gm-prod__body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.gm-prod__brand {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.gm-prod__name {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gm-prod__foot {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 6px;
}
.gm-price { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.gm-price--old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.gm-prod__stock { font-size: 12.5px; color: var(--muted); }
.gm-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef2f6 0%, #e2e9ef 100%);
  color: #8fa7bd;
  font-family: var(--serif);
  font-size: 34px;
}

/* ---------- keunggulan (list bernomor) ---------- */
.gm-why {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.gm-why__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.gm-why__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.gm-why__num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  padding-top: 2px;
}
.gm-why__item h3 { margin-bottom: 6px; }
.gm-why__item p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .gm-why { grid-template-columns: 1fr; } }

/* ---------- brand strip ---------- */
.gm-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gm-brands img {
  height: 30px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.gm-brands img:hover { opacity: 1; filter: none; }

/* ---------- CTA band ---------- */
.gm-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.gm-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.gm-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 26, 45, 0.94) 0%, rgba(6, 26, 45, 0.82) 46%, rgba(6, 26, 45, 0.42) 100%);
  z-index: -1;
}
.gm-cta__inner {
  padding: clamp(34px, 5vw, 62px);
  max-width: 640px;
}
.gm-cta h2 { color: #fff; margin-bottom: 14px; }
.gm-cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 26px; max-width: 46ch; }
.gm-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.gm-footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #f6f7f4;
  padding: clamp(40px, 5vw, 64px) 0 28px;
}
.gm-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.gm-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 700;
}
.gm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gm-footer li, .gm-footer p { font-size: 14.5px; color: var(--ink-2); }
.gm-footer a { color: var(--ink-2); }
.gm-footer a:hover { color: var(--brand); }
.gm-footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 12px; font-size: 14px; }
.gm-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .gm-footer__grid { grid-template-columns: 1fr 1fr; }
  .gm-footer__brand { grid-column: 1 / -1; }
}

/* ---------- halaman dalam (about/services/contact) ---------- */
.gm-page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.gm-page-head h1 { max-width: 20ch; margin: 16px 0 18px; }
.gm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}
.gm-split img { border-radius: var(--radius-lg); }
.gm-split--rev .gm-split__media { order: 2; }
@media (max-width: 860px) {
  .gm-split { grid-template-columns: 1fr; }
  .gm-split--rev .gm-split__media { order: 0; }
}

.gm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gm-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--brand);
}
.gm-stats div span { font-size: 13.5px; color: var(--muted); }

/* layanan */
.gm-service {
  display: grid;
  grid-template-columns: 78px minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.gm-service__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.gm-service h3 { margin-bottom: 8px; }
.gm-service p { color: var(--muted); font-size: 15px; max-width: 48ch; }
.gm-service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-2);
}
.gm-service ul li { display: flex; gap: 9px; align-items: flex-start; }
.gm-service ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex: none;
}
@media (max-width: 860px) {
  .gm-service { grid-template-columns: 1fr; gap: 12px; }
  .gm-service__num { font-size: 13px; }
}

/* langkah proses */
.gm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.gm-step {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.gm-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.gm-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.gm-step p { font-size: 14.5px; color: var(--muted); }

/* ---------- kontak ---------- */
.gm-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}
@media (max-width: 900px) { .gm-contact { grid-template-columns: 1fr; } }
.gm-card-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
}
.gm-field { margin-bottom: 16px; }
.gm-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.gm-field input,
.gm-field textarea,
.gm-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gm-field input:focus,
.gm-field textarea:focus,
.gm-field select:focus {
  outline: 0;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(22, 119, 200, 0.14);
}
.gm-field textarea { min-height: 120px; resize: vertical; }
.gm-info-list { display: grid; gap: 0; }
.gm-info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.gm-info-item:last-child { border-bottom: 0; }
.gm-info-item svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.7; margin-top: 3px; }
.gm-info-item strong { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.gm-map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}
.gm-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- reveal ---------- */
html.js .gm-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .gm-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .gm-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- utilitas ---------- */
.gm-stack-sm > * + * { margin-top: 10px; }
.gm-mt-24 { margin-top: 24px; }
.gm-mt-32 { margin-top: 32px; }
.gm-muted { color: var(--muted); }
.gm-small { font-size: 13.5px; }
.gm-hr { height: 1px; background: var(--line); border: 0; margin: 0; }
