/* Woodmaster — tema ringan. Warna & huruf mengikuti situs lama (oranye #ff9801, header/footer gelap, Nunito Sans bila tersedia). */
:root {
    --accent: #ff9801;
    --accent-dark: #d97f00;
    --ink: #2b2b2b;
    --muted: #6b6560;
    --dark: #2b2b2b;
    --darker: #1f1f1f;
    --paper: #f6f3ef;
    --line: #e6e0d9;
    --wood: #5a3a22;
    --radius: 6px;
    --wrap: 1200px;
    --font: "Nunito Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { flex: none; vertical-align: middle; }
.flag { display: inline-block; vertical-align: middle; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Tombol */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 2px solid var(--accent); border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--paper); border-color: var(--accent); color: var(--ink); }
.btn--small { padding: 7px 16px; font-size: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.site-header__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand img { width: 102px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: #fff; font-size: 13px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); text-decoration: none; }
.langsw { position: relative; }
.langsw .nav__link { color: var(--accent); }
.langsw__list { display: none; position: absolute; right: 0; top: 100%; list-style: none; margin: 0; padding: 6px 0; background: #fff; border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.18); min-width: 190px; }
.langsw.is-open .langsw__list { display: block; }
.langsw__list a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; color: var(--ink); font-size: 14px; }
.langsw__list a:hover { background: var(--paper); text-decoration: none; }
.search-toggle, .burger { background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger { display: none; }
.burger .icon + .icon { display: none; }
.search-panel { background: var(--darker); padding: 12px 0; }
.site-search { display: flex; gap: 8px; }
.site-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; border-radius: 999px; font: inherit; }

@media (max-width: 1080px) {
    .burger { display: block; }
    .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); display: none; margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
    .nav__link { width: 100%; padding: 12px 0; }
    .langsw__list { position: static; box-shadow: none; background: transparent; }
    .langsw__list a { color: #fff; padding-left: 26px; }
    .langsw__list a:hover { background: transparent; color: var(--accent); }
    .search-toggle { margin-left: auto; }
    .site-header.nav-open .burger .icon:first-child { display: none; }
    .site-header.nav-open .burger .icon + .icon { display: inline; }
}

/* Bagian umum */
.section { padding: 56px 0; }
.section--dark { background: var(--wood) linear-gradient(135deg, #4a2e1a, #6b4527); color: #fff; }
.section-title { font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; letter-spacing: .02em; }
.section-title span { color: var(--accent); }
.page-title { font-size: clamp(26px, 3.5vw, 38px); text-transform: uppercase; }
.lead { max-width: 900px; margin: 0 auto 32px; color: var(--muted); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: .4em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Splash halaman depan */
.splash-page { background: #2b1a10; }
.splash { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; color: #fff;
    background: #2b1a10 var(--splash-bg) center / cover no-repeat; padding: 64px 16px; }
.splash::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.splash__inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.splash__text h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: .3em; }
.splash__text h2 { font-size: clamp(20px, 3vw, 40px); }
.splash__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.splash__choice img { border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .2s; }
.splash__choice:hover img { transform: translateY(-4px); }
.splash__lang { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; z-index: 2; }
.splash__lang a { color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.35); }
.splash__lang a[aria-current] { background: var(--accent); }
@media (max-width: 760px) {
    .splash__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .splash__choices { max-width: 420px; margin: 0 auto; }
}

/* Slider beranda toko */
.hero { position: relative; background: #1d140d; overflow: hidden; }
.hero__track { position: relative; aspect-ratio: 16 / 7; min-height: 320px; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    color: #fff; background: rgba(0,0,0,.25); padding: 16px; pointer-events: none; }
.hero__title { font-size: clamp(40px, 7vw, 84px); font-weight: 800; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero__sub { font-size: clamp(16px, 2.2vw, 26px); margin: 0; }
.hero__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero__dots button[aria-current="true"] { background: #fff; }

/* Ubin kategori */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; }
.tile img { width: 100%; aspect-ratio: 555 / 466; object-fit: cover; transition: transform .3s; }
.tile:hover img { transform: scale(1.04); }
.tile__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-weight: 700; font-size: 18px;
    background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.tile:hover { text-decoration: none; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Tentang kami (beranda) */
.about { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.about h2 { font-size: clamp(24px, 3vw, 34px); }
.about__media img { margin: 0 auto; max-width: 360px; width: 100%; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* Kartu & grid produk */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pcard { text-align: center; }
.pcard__media { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pcard__media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph { display: block; aspect-ratio: 1; background: var(--paper); }
.pcard__title { font-size: 15px; margin: 12px 0 0; text-transform: uppercase; }
.pcard__title a { color: var(--ink); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }

/* Halaman Pernis Kayu / Wood Varnish */
.banner img { width: 100%; max-height: 520px; object-fit: cover; }
.plist { display: grid; gap: 32px; }
.prow { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow__title { font-size: 20px; }
.prow__title a { color: var(--ink); }
@media (max-width: 640px) { .prow { grid-template-columns: 1fr; text-align: center; } .prow__media img { max-width: 240px; margin: 0 auto; } }

/* Detail produk */
.product__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.product__media img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.product__title { font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; }
.product__cat { color: var(--muted); font-size: 14px; }
.product__excerpt { color: #4a4540; text-align: justify; }
.features { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features img { width: 100%; max-width: 150px; margin: 0 auto; }
.product__docs { display: flex; flex-wrap: wrap; gap: 10px; }
.product__desc { margin-top: 56px; }
.tabs-title { font-size: 15px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs-title span { display: inline-block; padding: 10px 4px; border-bottom: 3px solid var(--accent); margin-bottom: -1px; }
.product__related { margin-top: 56px; }
@media (max-width: 860px) { .product__top { grid-template-columns: 1fr; gap: 24px; } }

/* Isi editor (deskripsi produk, halaman teks) */
.entry { max-width: 100%; }
.entry h4 { font-size: 18px; margin-top: 1.2em; }
.entry .text-justify { text-align: justify; }
.tech { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.tech li { display: flex; gap: 14px; align-items: center; }
.tech img { width: 40px; height: 40px; flex: none; }
.tech b { display: block; }
@media (max-width: 560px) { .tech { grid-template-columns: 1fr; } }
.offices__map img { margin: 0 auto 32px; border-radius: var(--radius); }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.office { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; text-align: center; }
.office:first-child { grid-column: 1 / -1; }
.office p { margin: 0 0 4px; }
@media (max-width: 640px) { .offices { grid-template-columns: 1fr; } }

/* Ajakan hubungi */
.cta { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--paper);
    border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; }
.cta h2 { font-size: 20px; }
.cta p { margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { background: #3a3a3a; color: #d8d4cf; padding: 48px 0 0; margin-top: 24px; font-size: 14px; }
.site-footer a { color: #d8d4cf; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; }
.site-footer__title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__brand img { width: 140px; margin-bottom: 12px; }
.site-footer__brand .icon { width: 16px; height: 16px; margin-right: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding: 16px; text-align: center; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
