/* Sogedegang Vending Solutions — gaya laman (D2: Neo-Brutal Profesional) */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/work-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/work-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/work-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/work-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/caveat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/caveat-latin-700-normal.woff2') format('woff2'); }

:root {
  --cream: #FFF8EC;
  --ink: #111111;
  --ink-soft: #3A3A3A;
  --yellow: #FFD23F;
  --blue: #DDE7FF;
  --white: #FFFFFF;
  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 18px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Butang */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 22px; border: var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); background: var(--white); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--yellow { background: var(--yellow); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: none; font-size: 16px; padding: 12px 18px; border-radius: 10px; }
.btn--dark:hover { box-shadow: none; transform: none; opacity: .88; }
.btn svg { flex: none; }

/* Nav */
.top { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { display: flex; flex-direction: column; gap: 3px; }
.brand__mark span { height: 6px; border-radius: 3px; }
.brand__mark span:nth-child(odd) { width: 28px; background: var(--yellow); border: 1.5px solid var(--ink); }
.brand__mark span:nth-child(2) { width: 19px; background: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.brand__sub { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--ink-soft); }
.nav__links { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang a { text-decoration: none; padding: 8px 12px; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--white); }
.nav__cta { font-size: 15px; padding: 10px 16px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; border: var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; background: var(--white); }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; min-width: 200px; }
.menu__panel a { text-decoration: none; padding: 12px 14px; font-weight: 600; border-radius: 8px; }
.menu__panel a:hover { background: var(--cream); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 44px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-weight: 700; font-size: 14px; padding: 8px 14px; background: var(--white); border: var(--line); border-radius: 999px; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 6.4vw, 86px); line-height: 1; letter-spacing: -0.04em; }
.mark { background: var(--yellow); padding: 0 10px; border: var(--line); border-radius: 12px; display: inline-block; }
.hero__lead { font-size: 19px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { flex: 1 1 400px; min-width: 0; position: relative; padding: 0 12px 12px 0; }
.hero__media img { width: 100%; height: 560px; object-fit: cover; border: var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.badge { position: absolute; right: -4px; top: 24px; background: var(--yellow); border: var(--line); border-radius: 12px; padding: 10px 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3; }

/* Jalur */
.strip { background: var(--ink); color: var(--cream); overflow: hidden; }
.strip p { padding: 16px 24px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .02em; }

/* Bahagian umum */
.section { padding-top: 64px; padding-bottom: 16px; }
.section__title { font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 10px; }
.section__lead { font-size: 18px; max-width: 680px; margin-bottom: 28px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card--yellow { background: var(--yellow); }
.card--blue { background: var(--blue); }
.card h3 { font-size: 23px; }
.card .btn--dark { margin-top: auto; align-self: flex-start; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag { align-self: flex-start; border: var(--line); border-radius: 8px; padding: 3px 10px; font-weight: 700; font-size: 14px; }
.tag--yellow { background: var(--yellow); }
.tag--blue { background: var(--blue); }

/* Statistik */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 48px; }
.stat { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 4px; background: var(--white); }
.stat strong { font-family: var(--font-display); font-size: 46px; line-height: 1.1; }
.stat span { font-weight: 600; }
.stat--word strong { font-size: 34px; line-height: 1.25; }

/* Senarai tanda */
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 1px; }

/* Kad bergambar */
.photo-card { background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.photo-card__img { position: relative; height: 320px; border-bottom: var(--line); overflow: hidden; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__body { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.photo-card__body h3 { font-size: 20px; }
.photo-card__body p, .photo-card__body .muted { font-size: 15px; line-height: 1.55; }
.steps { list-style: none; padding: 0; margin: 0; }

/* Nota kertas (langkah 1) */
.note { position: absolute; right: 14px; bottom: 14px; width: 172px; background: #FFFDF5; border: var(--line); border-radius: 6px; box-shadow: var(--shadow-sm); padding: 10px 12px 12px; transform: rotate(-3deg); font-family: 'Caveat', cursive; color: #1D2A55; background-image: repeating-linear-gradient(transparent, transparent 21px, #C9D6F2 21px, #C9D6F2 22px); }
.note__head { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 700; }
.note__row { display: flex; align-items: center; gap: 6px; font-size: 19px; line-height: 22px; }
.note__row--off { text-decoration: line-through; opacity: .6; padding-left: 20px; }

/* Cip premis */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; font-weight: 600; font-size: 15px; }
.chips li { padding: 10px 16px; background: var(--white); border: var(--line); border-radius: 999px; }
.chips li:nth-child(4n+2) { background: var(--yellow); }
.chips li:nth-child(4n+4) { background: var(--blue); }

/* soTrack */
.system { background: var(--blue); border: var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.system__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.system__brand { display: flex; align-items: center; gap: 14px; }
.system__brand img { width: 68px; height: 68px; border: var(--line); border-radius: 16px; }
.system__brand strong { font-family: var(--font-display); font-size: 26px; display: block; }
.system h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.05; }
.system__steps { flex: 1 1 420px; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.system__steps li { background: var(--white); border: var(--line); border-radius: 14px; padding: 16px; }
.system__steps strong { font-family: var(--font-display); font-size: 18px; }
.system__steps p { font-size: 14px; line-height: 1.5; margin-top: 4px; }

/* Pembekal */
.supply { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.supply__imgs { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.supply__imgs img { width: 100%; height: 380px; object-fit: cover; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.supply__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.supply__text h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; }

/* Hubungi */
.contact { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 64px; padding-bottom: 80px; }
.contact__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact__intro h2 { font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -0.04em; }
.contact__options { flex: 1 1 520px; min-width: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact__option { text-decoration: none; }
.contact__option:hover { transform: translate(-1px, -1px); }
.contact__option strong { font-family: var(--font-display); font-size: 20px; }
.contact__option .go { margin-top: auto; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* Footer */
.foot { background: var(--ink); color: var(--cream); }
.foot a { color: var(--cream); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.foot__inner > div { display: flex; flex-direction: column; gap: 4px; }
.foot strong { font-family: var(--font-display); font-size: 17px; }


/* Kelas utiliti (ganti gaya sebaris supaya CSP ketat) */
.section__title--gap { margin-bottom: 28px; }
.text-lg { font-size: 17px; }
.mt-20 { margin-top: 20px; }
.small-strong { font-size: 14px; font-weight: 600; }
.stat--yellow { background: var(--yellow); }
.stat--blue { background: var(--blue); }
.photo-card__img--short { height: 240px; }
.img-top { object-position: top; }
.page404 { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.page404 h1 { font-size: clamp(36px, 6vw, 64px); }

/* Telefon */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 32px; gap: 28px; }
  .hero__media img { height: 420px; }
  .badge { right: 0; top: 14px; font-size: 13px; }
  .brand__name { font-size: 16px; }
  .brand__sub { font-size: 9px; }
  .strip p { font-size: 17px; }
  .supply__imgs img { height: 260px; }
  .photo-card__img { height: 280px; }
  .btn { font-size: 16px; padding: 14px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .contact__option { transition: none; }
}
