/* ============================================================
   HMZ LOGIX — CSS
   Theme: Silver-white segar, clean B2B korporat
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --white:      #ffffff;
  --snow:       #f8f9fb;
  --ice:        #eef1f5;
  --mist:       #dde2ea;
  --silver:     #8a95a3;
  --slate:      #4a5568;
  --ink:        #1a2332;
  --navy:       #0f1b2d;

  --blue:       #1d6fe8;
  --blue-deep:  #1558c0;
  --blue-tint:  #e8f0fc;

  --amber:      #e07b20;
  --amber-tint: #fdf3e8;

  --success:    #16a34a;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  18px;

  --shadow-sm:  0 1px 4px rgba(26,35,50,.07);
  --shadow:     0 4px 16px rgba(26,35,50,.10);
  --shadow-lg:  0 12px 40px rgba(26,35,50,.14);

  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition: .2s cubic-bezier(.4,0,.2,1);
  --max-w: 1160px;
  --header-h: 68px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-alt { background: var(--snow); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-sub {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--mist);
}
.btn-secondary:hover { border-color: var(--blue); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-tint); }
.btn-full { width: 100%; justify-content: center; }

/* ---- HEADER ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .08em;
  color: var(--ink);
}
.brand strong { color: var(--blue); }

/* Arrow icon in brand */
.brand-icon {
  position: relative;
  width: 28px;
  height: 20px;
}
.arrow-lines,
.arrow-lines::before,
.arrow-lines::after {
  position: absolute;
  right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.arrow-lines { width: 22px; top: 50%; transform: translateY(-50%); }
.arrow-lines::before { content: ''; width: 16px; top: -6px; }
.arrow-lines::after { content: ''; width: 16px; top: 6px; opacity: .5; }

#mainNav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
#mainNav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
#mainNav a:hover, #mainNav a:focus-visible { color: var(--blue); background: var(--blue-tint); }
.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
}
.btn-nav:hover { background: var(--blue-deep) !important; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Business document / procurement photo — Unsplash free commercial use */
  background-image: url('/img/hmz-logix-warehouse.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
/* Dark overlay so text stays readable */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(15,27,45,.92) 0%,
      rgba(15,27,45,.80) 45%,
      rgba(15,27,45,.55) 100%
    ),
    radial-gradient(ellipse 700px 500px at 85% 50%, rgba(29,111,232,.18), transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 780px; }
.hero .eyebrow { color: rgba(255,255,255,.65); }
.hero .eyebrow-dot { background: rgba(255,255,255,.65); }
.hero h1 { color: var(--white); margin-bottom: 10px; }
.hero h1 em { font-style: normal; color: #6db3ff; }
.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  max-width: 680px;
  margin: 16px 0 32px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-card {
  background: rgba(255,255,255,.07);
  padding: 20px 22px;
  backdrop-filter: blur(4px);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--ice);
  padding: 18px 0;
  border-bottom: 1px solid var(--mist);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--silver);
  white-space: nowrap;
}
.strip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.strip-list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---- LAYANAN / SVC CARDS ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), var(--shadow);
}
.svc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.svc-img { height: 160px; overflow: hidden; }
.svc-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-img-1 { background: linear-gradient(135deg, #dde8f8, #c8d9f5); color: var(--blue); }
.svc-img-2 { background: linear-gradient(135deg, #c8d9f5, #a8c3ef); color: var(--blue-deep); }
.svc-img-3 { background: linear-gradient(135deg, #e8eef8, #d4e0f2); color: var(--slate); }

.svc-body { padding: 26px 24px 28px; }
.svc-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--blue);
  font-weight: 700;
}
.svc-body h3 { margin: 8px 0 10px; color: var(--ink); }
.svc-body p { font-size: 14.5px; color: var(--slate); margin-bottom: 18px; }

.svc-list {
  margin-bottom: 22px;
  border-top: 1px solid var(--ice);
}
.svc-list li {
  font-size: 14.5px;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--ice);
  position: relative;
  color: var(--ink);
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 8px solid var(--blue);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ---- PROSES PENGADAAN ---- */
.process-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
.steps-list { list-style: none; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mist);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--blue);
  min-width: 54px;
  line-height: 1;
  opacity: .7;
}
.step strong {
  display: block;
  font-size: 17px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 4px;
}
.step span { font-size: 14.5px; color: var(--slate); }

.seg-box {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.seg-box h3 { margin-bottom: 18px; }
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  background: var(--blue-tint);
  color: var(--blue-deep);
  border: 1px solid #c4d9f7;
  padding: 6px 13px;
  border-radius: 999px;
}
.seg-divider { border: none; border-top: 1px solid var(--mist); margin: 20px 0; }
.seg-note { font-size: 14.5px; color: var(--slate); margin-bottom: 14px; }

/* ---- TRUST ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.trust-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.trust-letter {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.trust-card h3 { font-size: 18px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* ---- FAQ ---- */
.faq-container { max-width: 820px; }
.faq-list { margin-top: 10px; }
details {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  transition: background var(--transition), color var(--transition);
}
summary::-webkit-details-marker { display: none; }
summary:hover { background: var(--snow); color: var(--blue); }
summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
}
details[open] > summary::after { content: '−'; }
details[open] > summary { color: var(--blue); background: var(--blue-tint); }
.faq-ans {
  padding: 4px 20px 20px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}
.faq-ans a { color: var(--blue); text-decoration: underline; }

/* ---- FORM ---- */
.quote-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.quote-info h2 { margin-bottom: 12px; }
.quote-info .section-sub { margin-bottom: 28px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mist);
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue-tint);
  border-radius: 8px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list strong {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--silver);
  font-family: var(--font-display);
  margin-bottom: 3px;
}
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--blue); }

.quote-form-wrap {
  background: var(--snow);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 14px; }
label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}
label span { color: var(--blue); }
input, select, textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 11px 14px;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input::placeholder, textarea::placeholder { color: var(--silver); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,111,232,.12);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238a95a3' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 88px; }
.form-note { font-size: 12.5px; color: var(--silver); margin-top: 10px; }

/* ---- FOOTER ---- */
#site-footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand .brand { color: var(--white); font-size: 28px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; margin-bottom: 14px; line-height: 1.7; }
.footer-brand p em { color: rgba(255,255,255,.4); font-style: italic; }
.footer-brand address { font-size: 13.5px; line-height: 1.8; }
.footer-brand a { color: rgba(255,255,255,.65); }
.footer-brand a:hover { color: var(--white); }
.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav li + li { margin-top: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ---- WA FLOAT ---- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,.55); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card:nth-child(3) { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid .trust-card:nth-last-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 860px) {
  .process-grid, .quote-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  :root { --header-h: 60px; }
  .section { padding: 60px 0; }
  .menu-toggle { display: flex; }
  #mainNav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    padding: 10px 16px 18px;
    box-shadow: var(--shadow);
  }
  #mainNav.open { display: block; }
  #mainNav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  #mainNav a { display: block; padding: 10px 14px; }
  .hero { padding: 72px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .trust-grid { grid-template-columns: 1fr; }
  .svc-card:nth-child(3) { max-width: 100%; grid-column: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px 30px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
  .strip-list { display: none; }
  .trust-strip .container { justify-content: center; }
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
