/* Rumah Duta Pangan — arah visual A "Fresh Market". Mobile-first. */
:root {
  --tile-art: #E7EEDF;
  --bg: #F6F1E6; --surface: #FFFDF8; --band: #EFE8D8;
  --ink: #1F211C; --muted: #585B50; --line: #DDD4C1; --input-line: #8F8672;
  --primary: #1E5133; --primary-ink: #FFFFFF; --link: #1E5133;
  --accent: #F2B233; --accent-hover: #E5A21C; --accent-ink: #211E16;
  --deep: #1E5133; --deep-ink: #FFFFFF; --deep-muted: #D5E4D2; --deep-line: #9FC0A2; --footer: #163B26;
  --badge-bg: #E1EBDB; --badge-ink: #1E5133; --nbadge-bg: #F0EADC; --nbadge-ink: #585B50;
  --ph-bg: #FBE3A6; --ph-ink: #4D3800; --error: #B42318; --focus: #2A6FDB;
  --radius: 16px; --radius-sm: 10px; --radius-lg: 24px; --radius-btn: 12px;
  --shadow: 0 18px 40px rgba(30, 40, 25, .14);
  --font-h: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-b: "Figtree", system-ui, sans-serif;
  --gutter: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tile-art: #E2E9DA;
    --bg: #111510; --surface: #191E18; --band: #151A14;
    --ink: #ECEFE8; --muted: #AEB5A8; --line: #2F382D; --input-line: #7B8475;
    --primary: #8FCB9B; --primary-ink: #0F1A12; --link: #9FD6AA;
    --deep: #173A25; --deep-ink: #F2F6F0; --deep-muted: #C2D5BF; --deep-line: #4F7A5B; --footer: #0D1F14;
    --badge-bg: #24392A; --badge-ink: #B3DDB9; --nbadge-bg: #252B23; --nbadge-ink: #C6CCC0;
    --ph-bg: #5A4400; --ph-ink: #FFE9A8; --error: #FF9A8F; --focus: #7FB0FF;
    --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-b); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
html:not(.js) .js-only { display: none !important; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.strong { font-weight: 700; }
.eyebrow { font-size: .875rem; font-weight: 700; color: var(--primary); margin: 0 0 .75rem; }
.lead, .section-lead { font-size: 1.12rem; color: var(--muted); max-width: 42em; }
.ph { display: inline-block; background: var(--ph-bg); color: var(--ph-ink); font-weight: 600; font-size: .85em; padding: 0 .4em; border-radius: 4px; line-height: 1.6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-btn); border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--badge-bg); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-on-dark { border-color: var(--deep-line); color: var(--deep-ink); background: transparent; }
.btn-on-dark:hover { background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--primary); color: var(--primary); background: transparent; min-height: 44px; padding: 0 14px; font-size: .95rem; }
.btn-line:hover { background: var(--badge-bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: transparent; color: var(--ink); }
.link-btn { border: 0; background: none; padding: 0; color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .7rem; color: var(--muted); }
.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.brand-name { white-space: nowrap; }
.main-nav a { white-space: nowrap; display: block; color: var(--muted); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: var(--radius-sm); }
.main-nav a:hover { color: var(--ink); background: var(--band); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-list, .header-actions .btn-wa-head, .lang-link { display: none; }
.lang-link { color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; padding: 10px 6px; }
.menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: transparent; color: var(--ink); }
.nav-open .main-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px; }
.nav-open .main-nav a { font-family: var(--font-h); font-weight: 700; font-size: 1.15rem; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav-open .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
.nav-open .main-nav .nav-lang a { font-family: var(--font-b); font-weight: 500; font-size: 1rem; color: var(--muted); border-bottom: 0; }

/* Sections */
.section { padding: 56px 0; }
.section-tight { padding-top: 24px; }
.band { background: var(--band); }
.page-head { padding: 28px 0 32px; }
.page-head h1 { font-size: clamp(1.85rem, 1.4rem + 2vw, 2.8rem); }
.after-grid { margin: 24px 0 0; color: var(--muted); }
.after-grid a { font-weight: 700; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.h-sm { font-size: 1.2rem; }
.h-card { font-size: 1.15rem; margin-bottom: .4em; }
.note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); margin: 20px 0 0; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .btn-row { margin-top: 24px; }
.hero .btn-row .btn { flex: 1 1 100%; }
.hero-note { margin-top: 16px; color: var(--muted); }
.hero-note a { font-weight: 700; color: var(--ink); }
.hero-panel { display: none; }
.order-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.order-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.order-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.order-name { flex: 1; font-weight: 600; font-size: .95rem; }
.order-qty { width: 72px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.order-docs span { font-size: .78rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.panel-note { color: var(--deep-muted); font-size: .85rem; margin: 14px 0 0; }

/* Trust strip */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item > span:last-child { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.trust-label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.trust-value { font-weight: 700; line-height: 1.35; }
.ibox { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--badge-bg); color: var(--badge-ink); display: inline-flex; align-items: center; justify-content: center; }
.ibox-lg { width: 72px; height: 72px; border-radius: var(--radius); }

/* Tiles & cards */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.tile-img { display: block; margin: -16px -16px 4px; background: var(--tile-art); border-radius: var(--radius) var(--radius) 0 0; }
.tile-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.tile-name { font-family: var(--font-h); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.tile-count { font-size: .82rem; font-weight: 700; color: var(--badge-ink); }
.tile-ex { display: none; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card > .icon { color: var(--primary); margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.facts { margin-top: 24px; }
.quote blockquote { margin: 0 0 12px; font-size: 1.05rem; }

.seg-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.seg { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--deep); color: var(--deep-ink); text-decoration: none; }
.seg:hover .seg-link { text-decoration: underline; }
.seg-name { font-family: var(--font-h); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.seg-pain { color: var(--deep-muted); flex: 1; }
.seg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: #F6C95C; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { width: 40px; height: 40px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 800; margin-bottom: 12px; }

.cta-band { background: var(--deep); color: var(--deep-ink); border-radius: var(--radius-lg); padding: 28px 22px; display: flex; flex-direction: column; gap: 22px; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--deep-muted); margin: 0 0 .4em; }
.cta-band .btn-row .btn { flex: 1 1 100%; }

/* Badges */
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--nbadge-bg); color: var(--nbadge-ink); white-space: nowrap; }
.badge-kg { background: var(--badge-bg); color: var(--badge-ink); }

/* Catalog */
.filters { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--input-line); border-radius: var(--radius-btn); color: var(--muted); }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.search input { flex: 1; border: 0; background: transparent; min-width: 0; font-size: 1rem; color: var(--ink); outline: none; }
.check-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1.5px solid var(--input-line); border-radius: var(--radius-btn); font-weight: 600; cursor: pointer; }
.check-pill input, .consent input { width: 20px; height: 20px; accent-color: var(--primary); flex-shrink: 0; margin: 0; }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.cat-nav ul { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
html:not(.js) .cat-nav { display: none; }
.cat-chip { flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.cat-chip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.cat-chip[aria-pressed="true"] span { color: inherit; opacity: .8; }
.result-line { color: var(--muted); margin: 0 0 8px; }
.result-line strong { color: var(--ink); }
.cat-block { margin-bottom: 28px; }
.cat-block-h { font-size: 1.25rem; margin: 0 0 12px; }
.cat-block-h a { color: var(--ink); text-decoration: none; }
.cat-block-h a:hover { text-decoration: underline; }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pcard.in-list { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcard-name { font-size: 1.05rem; margin: 0; flex: 1; }
.p-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard .p-actions .btn-line, .pcard .stepper { flex: 1; }
.ask { font-weight: 700; font-size: .92rem; padding: 10px 4px; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; border-radius: var(--radius-btn); background: var(--primary); color: var(--primary-ink); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.stepper output { min-width: 64px; text-align: center; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; }
.no-results { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.cat-hero { display: flex; gap: 20px; align-items: flex-start; }
.cat-hero .ibox-lg { display: none; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.group-head h2 { font-size: 1.3rem; margin: 0; }
.plist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; }
.prow + .prow { border-top: 1px solid var(--line); }
.prow.in-list { background: var(--badge-bg); }
.prow-name { flex: 1 1 100%; font-weight: 700; }
.prow .p-actions { margin-left: auto; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.chip:hover { border-color: var(--primary); }

/* Info, map, FAQ */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.info-list { margin: 0; display: flex; flex-direction: column; }
.info-list > div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.info-list dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.info-list dt .icon { color: var(--primary); }
.info-list dd { margin: 0; color: var(--muted); }
.info-list.compact > div { grid-template-columns: 180px 1fr; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; }
.map-bg { fill: var(--surface); stroke: var(--line); }
.map-sea { fill: var(--badge-bg); }
.map-sea-label { fill: var(--badge-ink); font: 600 12px var(--font-b); }
.map-zone { fill: var(--badge-bg); stroke: var(--primary); stroke-width: 1.5; }
.map-core { fill: var(--deep); }
.map-label { fill: var(--ink); font: 800 17px var(--font-h); }
.map-sub { fill: var(--muted); font: 500 11px var(--font-b); }
.map-label-core { fill: var(--deep-ink); }
.map-sub-core { fill: var(--deep-muted); }
.area-map figcaption { margin-top: 8px; }
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 18px; color: var(--muted); }
.faq-a p { margin: 0; }
.team { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 24px; }
.team li { display: flex; flex-direction: column; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea, .dialog-foot input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--input-line);
  background: var(--surface); color: var(--ink); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.req { color: var(--error); }
.card p.err, .err { color: var(--error); font-size: .88rem; font-weight: 600; margin: 0; }
.from-list { margin: 0; font-size: .9rem; font-weight: 600; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--badge-bg); color: var(--badge-ink); }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { gap: 10px; }
.submit-row .btn { width: 100%; }
.side-list { list-style: none; margin: 0 0 8px; padding: 0; }
.side-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.side-list li span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.contact-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Order List dialog */
.list-dialog { padding: 0; border: 0; background: var(--surface); color: var(--ink); width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 20px 20px 0 0; box-shadow: var(--shadow); }
.list-dialog[open] { display: flex; flex-direction: column; }
.list-dialog::backdrop { background: rgba(20, 20, 18, .5); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 1.25rem; margin: 0; }
.dialog-body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.list-empty { padding: 24px 0; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-items li { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.li-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.li-name strong { font-size: .95rem; }
.li-name span { font-size: .78rem; color: var(--muted); }
.list-items .stepper { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.list-items .stepper button { width: 36px; }
.list-items .stepper output { min-width: 58px; }
.dialog-foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); background: var(--band); display: flex; flex-direction: column; gap: 10px; }
.dialog-foot .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialog-foot label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; min-width: 0; }
.dialog-foot input { min-height: 44px; }

/* Footer & bottom bar */
.site-footer { background: var(--footer); color: #EEF3EC; padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); }
.site-footer a { color: #EEF3EC; }
.site-footer .muted { color: #BCCDBA; }
.site-footer .ph { color: var(--ph-ink); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.brand-line img { width: 36px; height: 36px; }
.brand-line { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; }
.footer-h { font-family: var(--font-b); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: #BCCDBA; font-size: .95rem; }
.footer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-cats a, .footer-bottom a { color: #BCCDBA; text-decoration: none; }
.footer-cats a:hover, .footer-bottom a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #2E5A40; font-size: .85rem; color: #BCCDBA; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.25fr 1.15fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
html:not(.js) .bottom-bar { grid-template-columns: 1fr 1fr; }
.bottom-bar .btn { min-height: 50px; padding: 0 8px; font-size: .95rem; gap: 6px; }
.bottom-bar .count { min-width: 22px; height: 22px; background: var(--primary); color: var(--primary-ink); }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 0 0 auto; }
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-ex { display: block; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.two, .card-grid.three, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { flex-direction: row; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .full, .form-grid .submit-row { grid-column: 1 / -1; }
  .submit-row { flex-direction: row; align-items: center; }
  .submit-row .btn { width: auto; }
  .prow-name { flex: 1 1 240px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-dialog { max-width: 480px; margin: auto; border-radius: var(--radius-lg); max-height: 86vh; }
  .cat-hero .ibox-lg { display: inline-flex; }
}

/* ---------- ≥ 1024px ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 64px; }
  body { font-size: 17px; }
  html { scroll-padding-top: 96px; }
  .header-row { min-height: 76px; }
  .main-nav { display: block; margin-left: 12px; }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav .nav-lang { display: none; }
  .menu-toggle { display: none; }
  .header-actions .btn-list, .header-actions .btn-wa-head, .lang-link { display: inline-flex; }
  .brand { margin-right: 0; }
  .header-actions { margin-left: auto; }
  .section { padding: 88px 0; }
  .section-tight { padding-top: 32px; }
  .page-head { padding: 40px 0 44px; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .hero-panel { display: block; background: var(--deep); border-radius: var(--radius-lg); padding: 36px; }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tile { padding: 22px; }
  .tile-icon { width: 56px; height: 56px; }
  .tile-name { font-size: 1.1rem; }
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 26px; }
  .seg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .seg { min-height: 200px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 56px; }
  .catalog-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
  .cat-nav { position: sticky; top: 96px; }
  .cat-nav ul { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 2px; }
  .cat-chip { width: 100%; justify-content: space-between; border: 0; background: transparent; border-radius: var(--radius-sm); min-height: 42px; padding: 0 12px; font-weight: 500; font-size: .95rem; }
  .cat-chip:hover { background: var(--band); }
  .cat-chip[aria-pressed="true"] { font-weight: 700; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .info-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .contact-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; }
  .quote-form { padding: 32px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
  .site-footer { padding: 64px 0 32px; }
  .bottom-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
@media print { .site-header, .bottom-bar, .list-dialog, .cta-band { display: none !important; } }

/* ---------- visual blocks (gambar & ringkas) ---------- */
.hero-art img { width: 100%; max-width: 340px; height: auto; margin: 0 auto; }
@media (min-width: 1024px) { .hero-art img { max-width: 540px; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.why li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-h); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.why .icon { color: var(--primary); }
.seg { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: var(--radius); background: var(--deep); color: var(--deep-ink); text-decoration: none; min-height: 0; }
.seg img { width: 96px; height: 72px; background: var(--tile-art); border-radius: var(--radius-sm); }
.seg .seg-name { font-size: 1.1rem; }
.seg .seg-link { color: #F6C95C; }
.seg:hover .seg-name { text-decoration: underline; }
.flow { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-h); font-weight: 700; line-height: 1.3; counter-increment: f; }
.flow li::after { content: counter(f); position: absolute; top: 14px; right: 16px; width: 28px; height: 28px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.flow small { font-family: var(--font-b); font-weight: 500; font-size: .88rem; color: var(--muted); }
.flow-icon { color: var(--primary); }
.pcard-top { justify-content: flex-start; align-items: flex-start; gap: 12px; }
.pthumb { width: 72px; height: 54px; flex-shrink: 0; background: var(--tile-art); border-radius: var(--radius-sm); }
.pcard-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.cat-art { width: 140px; height: auto; flex-shrink: 0; background: var(--tile-art); border-radius: var(--radius); display: none; }
.fact-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.fact-chips .icon { color: var(--primary); }
.h-center { text-align: center; }
.clients h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.logo-wall { list-style: none; margin: 24px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; }
.logo-wall li { display: flex; align-items: center; justify-content: center; height: 72px; padding: 8px; }
.logo-wall img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; }
.logo-ph { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; }
@media (min-width: 600px) {
  .cat-art { display: block; }
  .why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .seg { grid-template-columns: 1fr; padding: 12px 12px 18px; align-items: start; }
  .seg img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .seg .seg-link { display: none; }
  .cat-art { width: 200px; }
  .why li, .flow li { padding: 26px; font-size: 1.1rem; }
}

/* ---------- foto ---------- */
.tile-img img, .pthumb, .seg img, .cat-art, .hero-mosaic img { object-fit: cover; }
.cat-art { aspect-ratio: 4 / 3; height: auto; }
.hero-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; margin: 0 auto; }
.hero-mosaic img { width: 100%; height: 100%; border-radius: var(--radius); background: var(--tile-art); }
.hero-mosaic img:first-child { grid-row: 1 / 3; }
.hero-mosaic img:nth-child(4) { display: none; }
@media (min-width: 1024px) {
  .hero-mosaic { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 6 / 5; max-width: none; }
  .hero-mosaic img:nth-child(2) { grid-column: 2 / 4; }
  .hero-mosaic img:nth-child(4) { display: block; }
}
