@charset "UTF-8";
/* ==========================================================================
   Metong Machinery — pasaran Malaysia (Bahasa Melayu)
   Lapisan gaya tambahan (overlay). Dimuatkan SELEPAS site.css.
   Tidak mengubah site.css asal; rollback = padam fail ini + baris <link>.
   Palet: hijau tropika gelap + emas kuning (kontras tinggi, mesra pasaran
   Asia Tenggara), permukaan ivory hangat, geometri bulat lembut.
   ========================================================================== */

/* ---------- 1. token ---------- */
:root {
  --ink: #08251f;
  --ink-2: #0b2e26;
  --ink-3: #103a2f;
  --navy: #14453a;
  --navy-2: #1c5a4a;
  --navy-3: #2a7461;
  --accent: #f0a733;
  --accent-soft: #ffd08a;
  --accent-deep: #9c610f;
  --paper: #f8f3e8;
  --paper-2: #efe7d7;
  --line: #e2d9c8;
  --line-strong: #cdbfa5;
  --text: #14231f;
  --muted: #5b6b63;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 31, .06), 0 6px 18px -10px rgba(20, 35, 31, .18);
  --shadow-md: 0 12px 32px -14px rgba(8, 37, 31, .32), 0 2px 6px rgba(8, 37, 31, .06);
  --shadow-cta: 0 10px 24px -10px rgba(240, 167, 51, .55);
  --pattern-weave: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 15px),
                   repeating-linear-gradient(-45deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 22px);
}

/* ---------- 2. asas tipografi ---------- */
body {
  font-size: 17px;
  line-height: 1.72;
  background: #fffdf9;
  color: var(--text);
  text-wrap: pretty;
}
h1, h2, h3, h4 { letter-spacing: -.018em; line-height: 1.1; }
.h1, h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.h2, h2 { letter-spacing: -.02em; }
p { margin-bottom: 1.15em; }
a { transition: color .18s var(--ease); }
.muted { color: var(--muted); }
/* 深色区块里的 .muted 必须换成浅色，否则深底深字不可读 */
.rfq .muted, .section--ink .muted, .hero .muted, .page-head .muted, .news-cta .muted, .site-footer .muted { color: rgba(255, 255, 255, .76); }
.kicker { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.mono { letter-spacing: .03em; }

/* ---------- 3. tajuk & pengaki ---------- */
.page-head {
  background-image:
    linear-gradient(180deg, rgba(5, 24, 19, .92) 0%, rgba(5, 24, 19, .78) 100%),
    var(--page-bg);
}
.page-head .crumbs, .page-head .crumbs a { color: rgba(255, 255, 255, .8); }
.page-head .crumbs .sep { color: rgba(255, 255, 255, .5); }
.page-head .crumbs > span:last-child { color: #fff; }
.page-head .crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.page-head__meta { color: rgba(255, 255, 255, .9); }
.page-head__meta-label { color: rgba(255, 255, 255, .62); }
.site-header {
  background: linear-gradient(180deg, #0a2a23 0%, #08251f 100%);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 8px 28px -18px rgba(0, 0, 0, .8);
}
.header-bar { padding-block: .75rem; }
.brand__name { letter-spacing: .1em; }
.brand__sub { color: rgba(255, 255, 255, .58); }
.brand__mark [stroke="#7fb6cc"] { stroke: var(--accent); }
.nav__link { border-radius: var(--radius-pill); padding-inline: .7rem; }
.nav__link:hover { background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { border-color: var(--accent); color: #fff; }
.mega {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 2px solid var(--accent);
}
.mega__col-title { color: var(--accent); }
.lang-switch__btn { border-radius: var(--radius-pill); }
.lang-switch__menu { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.site-footer {
  background: linear-gradient(180deg, #0a2a23 0%, #071d18 100%);
  border-top: 2px solid rgba(240, 167, 51, .55);
  padding-bottom: 2.2rem;
}
/* ruang untuk bar sebut harga terapung (hanya pada halaman yang memilikinya) */
body:has(.quote-bar) .site-footer { padding-bottom: calc(2.2rem + 84px); }
@media (min-width: 1000px) {
  body:has(.quote-bar) .site-footer { padding-bottom: 6rem; }
}
.footer-col h3 { color: var(--accent); }
.footer-brand .brand__sub { color: rgba(255, 255, 255, .52); }

/* ---------- 4. butang ---------- */
.btn {
  border-radius: var(--radius-pill);
  padding: .88rem 1.5rem;
  font-size: .92rem;
  font-weight: 600;
  min-height: 48px;
  justify-content: center;
  transition: transform .16s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent {
  background: linear-gradient(180deg, #f7b64b 0%, var(--accent) 100%);
  border-color: var(--accent);
  color: #2a1c04;
  box-shadow: var(--shadow-cta);
}
.btn--accent:hover { background: linear-gradient(180deg, #ffc465 0%, #f5b040 100%); box-shadow: 0 14px 30px -10px rgba(240, 167, 51, .68); }
.btn--dark { background: var(--navy); border-color: var(--navy); border-radius: var(--radius-pill); }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .42); border-radius: var(--radius-pill); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(240, 167, 51, .08); }
.link-arrow { border-bottom-color: rgba(240, 167, 51, .35); }
.link-arrow:hover { border-bottom-color: var(--accent); color: var(--accent-deep); }

/* ---------- 5. bahagian gelap: tekstur tenun halus ---------- */
.section--ink, .hero, .rfq {
  background-color: var(--ink);
  background-image: var(--pattern-weave);
}
.section--ink .sect-head { border-color: rgba(255, 255, 255, .14); }
.section--ink .kicker { color: var(--accent); }
.section--ink .rule { border-color: rgba(255, 255, 255, .14); }

/* ---------- 6. hero ---------- */
.hero {
  background-image:
    radial-gradient(120% 90% at 12% 8%, rgba(240, 167, 51, .16) 0%, transparent 52%),
    linear-gradient(180deg, #0a2c24 0%, #08211b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero__copy { padding-block: clamp(2.2rem, 4vw, 3.4rem); }
.hero h1 { line-height: 1.06; }
.hero__deck { font-size: 1.06rem; color: rgba(255, 255, 255, .78); max-width: 52ch; }
.hero__eyebrow { color: var(--accent); letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; font-weight: 600; }
.hero__actions { margin-top: 1.8rem; gap: .8rem; }
.hero__points { margin-top: 1.9rem; }
.hero__points span {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-pill);
  padding: .5rem .95rem;
  font-size: .84rem;
  color: rgba(255, 255, 255, .88);
}
.hero__figure { border-left: 3px solid var(--accent); }
.nameplate {
  background: rgba(6, 26, 21, .9);
  border: 1px solid rgba(240, 167, 51, .45);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.nameplate b { color: #fff; }
.nameplate span { color: rgba(255, 255, 255, .74); }

/* ---------- 7. fakta / statistik ---------- */
.facts { background: var(--paper); color: var(--text); border-bottom: 1px solid var(--line); }
.facts__item, .stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.facts__item { padding: 1.15rem 1.2rem; border-left: 1px solid var(--line); }
.facts__item:first-child { padding-left: 1.2rem; }
.stat { padding: 1.3rem 1.2rem; }
.facts__num, .stat__num {
  font-family: "Archivo", sans-serif;
  letter-spacing: -.02em;
  color: var(--ink-3);
  font-weight: 700;
}
.facts__label, .stat__label { font-size: .82rem; color: var(--muted); line-height: 1.45; padding-left: 0; margin-top: .4rem; }
.facts__item .stat__icon { color: var(--accent-deep); }
.page-head__meta { color: rgba(255, 255, 255, .86); }
.page-head__meta-label { color: rgba(255, 255, 255, .66); }

/* ---------- 8. kad, tile, panel ---------- */
.card, .tile, .info-card, .solution-card, .support-card, .news-panel, .qa-item, .cert {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover, .tile:hover, .solution-card:hover, .support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card__media, .tile__media, .solution-card__media { background: linear-gradient(180deg, #fffaf0 0%, #f6efe1 100%); border-radius: var(--radius) var(--radius) 0 0; }
.solution-card__index { color: var(--accent-deep); font-family: "Archivo", sans-serif; letter-spacing: .05em; }
.solution-card__tags li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: .26rem .72rem;
  font-size: .76rem;
  color: var(--ink-3);
}
.solution-card__cta { color: var(--accent-deep); }
.card__media img, .tile__media img { transition: transform .35s var(--ease); }
.card:hover .card__media img, .tile:hover .tile__media img { transform: scale(1.035); }
.card__cat, .tile__meta, .card__foot {
  color: var(--accent-deep);
  font-family: "Archivo", sans-serif;
  letter-spacing: .04em;
}
.card__title, .tile__title, .solution-card__body h3 { font-family: "Archivo", sans-serif; letter-spacing: -.015em; }
.card__text, .tile__text { color: var(--muted); }
.card__cat { background: rgba(240, 167, 51, .14); border-radius: var(--radius-pill); padding: .2rem .6rem; display: inline-block; font-size: .68rem; line-height: 1.4; letter-spacing: .02em; white-space: normal; }
.tag-chip, .chip {
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  padding: .3rem .75rem;
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- 9. jalur warna / jalur sokongan ---------- */
.section--paper { background: linear-gradient(180deg, #fbf7ee 0%, var(--paper) 100%); }
.support-band {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
}
.context-head, .context-body {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.news-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(240, 167, 51, .35);
}
.news-cta .btn { background: var(--accent); border-color: var(--accent); color: #2a1c04; }
.pd-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.2rem 1.3rem;
}
.pd-cta .btn { background: var(--accent); border-color: var(--accent); color: #2a1c04; box-shadow: var(--shadow-cta); }
.pd-actions .btn:not(.btn--accent) { border-radius: var(--radius-pill); }

/* ---------- 10. jadual spesifikasi ---------- */
.spec-block { border-radius: var(--radius); }
.table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.spec-table { font-size: .9rem; }
.spec-table thead th {
  background: var(--ink-3);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .8rem .9rem;
}
.spec-table tbody tr:nth-child(even) { background: #fdf8ee; }
.spec-table tbody tr:hover { background: rgba(240, 167, 51, .10); }
.spec-table td { padding: .72rem .9rem; border-top: 1px solid var(--line); }
.spec-table .val { font-family: "IBM Plex Mono", monospace; font-size: .86rem; color: var(--ink-3); }
.spec-note, .pd-note { color: var(--muted); }
.pd-facts { border-radius: var(--radius); }
.pd-fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .55rem .85rem;
}
.pd-fact:nth-child(even) { background: #fdf8ee; }
.pd-fact dt { color: var(--accent-deep); }
.pd-fact dd { font-family: "IBM Plex Mono", monospace; }

/* ---------- 11. senarai, langkah, FAQ ---------- */
.prose li::before { background: var(--accent); border-radius: 2px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.feature__no {
  font-family: "Archivo", sans-serif;
  color: var(--accent-deep);
  letter-spacing: .06em;
}
.feature h3 { font-size: 1rem; letter-spacing: -.01em; }
.step, .qa-item, .task {
  border-radius: var(--radius);
}
.qa-item { padding: 1.15rem 1.25rem; }
.qa-item h3 { font-size: 1rem; }
.guide-checklist li, .context-checks li { padding-left: 1.4rem; }
.guide-checklist li::marker, .context-checks li::marker { color: var(--accent); }

/* ---------- 12. jalur sebut harga & panggilan kekal ---------- */
.quote-bar {
  display: flex !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(7, 30, 25, .97);
  border-top: 1px solid rgba(240, 167, 51, .5);
  color: #fff;
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
}
.quote-bar span {
  font-family: "Archivo", sans-serif;
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.quote-bar .btn {
  flex: 0 0 auto;
  padding: .62rem 1.05rem;
  font-size: .84rem;
  min-height: 40px;
  white-space: nowrap;
  box-shadow: var(--shadow-cta);
}

@media (min-width: 1000px) {
  .quote-bar {
    display: flex !important;
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-pill);
    padding: .45rem .55rem .45rem 1.1rem;
    max-width: 440px;
    background: rgba(7, 30, 25, .92);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  }
  .quote-bar span { max-width: 190px; }
}

/* ---------- 13. seksyen sebut harga (#rfq) + borang iframe ---------- */
.rfq {
  background-image:
    radial-gradient(110% 80% at 8% 6%, rgba(240, 167, 51, .18) 0%, transparent 55%),
    linear-gradient(180deg, #0b3028 0%, #071f19 100%);
  border-top: 3px solid var(--accent);
}
.rfq .kicker { color: var(--accent); }
.rfq h2 { color: #fff; }
.rfq .contact-card dt { color: var(--accent); }
.rfq .contact-line { color: rgba(255, 255, 255, .9); }
.rfq .contact-line:hover { color: var(--accent); }
.rfq textarea, .rfq input, .rfq select {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: .7rem .85rem;
}
.rfq iframe {
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  min-height: 520px;
  display: block;
  width: 100%;
}

/* ---------- 14. kontak, dokumen, jalur pautan ---------- */
.contact-card dt { color: var(--accent-deep); }
.contact-card--light dt { color: var(--accent-deep); }
.contact-line { border-radius: var(--radius-sm); }
.doc-request, .enquiry-guide {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
/* .form 只出现在深色询盘区（.rfq），必须做成玻璃卡；
   若给它白底，内部的白标签、白输入文字会整片消失 */
.rfq .form, .section--ink .form {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  padding: 1.25rem 1.3rem;
}
.field input, .field select, .field textarea { border-radius: var(--radius-sm); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(240, 167, 51, .55);
  border-color: var(--accent);
}
.form__status { color: #1a6b50; font-weight: 500; }
.rfq .form__status, .section--ink .form__status { color: var(--accent-soft); }
.search-input { border-radius: var(--radius-pill); border: 1px solid var(--line-strong); padding: .6rem 1rem; }
.catalog-link { border-radius: var(--radius-sm); }
.catalog-link:hover { background: rgba(240, 167, 51, .10); color: var(--text); }
.catalog-link.is-active { background: rgba(240, 167, 51, .14); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-deep); }

/* ---------- 15. media, galeri, sebelum/selepas ---------- */
.media-panel, .gallery__main, .gallery__thumb, .shot, .scene {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__thumb { border: 1px solid var(--line); }
.gallery__thumb.is-active { border-color: var(--accent); }
.lb__btn { border-radius: var(--radius-pill); }
.mosaic__item, .mosaic__item--photo { border-radius: var(--radius); overflow: hidden; }
/* 注意：.mosaic__body 在浅色卡片里，绝不可给深色底，否则内部深绿链接不可读 */
.mosaic__body { background: #fff; }
.mosaic__lead { color: var(--muted); }

/* ---------- 16. akses & cetakan ---------- */
:focus-visible { outline: 3px solid rgba(240, 167, 51, .85); outline-offset: 2px; }
.skip-link { background: var(--accent); color: #2a1c04; border-radius: 0 0 var(--radius-sm) 0; }

@media (prefers-reduced-motion: reduce) {
  .card:hover, .tile:hover, .solution-card:hover, .support-card:hover, .btn:hover { transform: none; }
  .card:hover .card__media img, .tile:hover .tile__media img { transform: none; }
}

@media print {
  .quote-bar { display: none !important; }
  .site-footer { padding-bottom: 0; }
}

/* ---------- 6b. hero：图片满幅铺底，文案压在左侧（同英文站视觉） ---------- */
/* 素材是 1920×600（3.2:1）超宽横幅。桌面端把它铺成整条 hero 的背景（绝对定位 inset:0），
   左侧叠暗渐变保住文字可读性；同时压缩文案区高度，让横向裁切尽量小、车身保持完整。 */
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__figure {
    position: absolute;
    inset: 0;
    min-height: 0;
    border-left: 0;
    z-index: 0;
  }
  .hero__figure img { object-fit: cover; object-position: 58% center; }
  .hero__figure::after {
    background: linear-gradient(90deg,
      rgba(8, 33, 27, .97) 0%,
      rgba(8, 33, 27, .93) 32%,
      rgba(8, 33, 27, .62) 52%,
      rgba(8, 33, 27, .18) 72%,
      rgba(8, 33, 27, .05) 100%);
  }
  .hero__copy {
    position: relative;
    z-index: 2;
    max-width: 46rem;
    padding-block: clamp(2rem, 3vw, 2.8rem);
  }
  .hero h1 { font-size: clamp(1.9rem, 2.9vw, 2.6rem); }
  .hero__deck { font-size: 1rem; max-width: 44ch; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__points { margin-top: 1.3rem; }
  .nameplate { left: auto; right: 0; max-width: 26rem; }
}
/* 窄屏：文案在上、图片在下，整张横幅按原比例完整显示；图注隐藏以免盖住横幅 */
@media (max-width: 999px) {
  .hero__figure { min-height: 0; aspect-ratio: 1920 / 600; }
  .hero__figure img { object-fit: cover; object-position: center center; }
  .hero__figure::after { background: linear-gradient(180deg, rgba(8, 24, 31, 0) 42%, rgba(8, 24, 31, .40) 100%); }
  .nameplate { display: none; }
}