/* Situs publik PT Nala Citra Nusantara. Palet mengikuti katalog produk 2026. */
:root {
  --navy: #0f3a6e;
  --navy-deep: #0a2a52;
  --blue: #1173d4;
  --blue-dark: #0d5fb0;
  --sky: #1aa0f0;
  --ice: #eef7fd;
  --ice-2: #e2f0fb;
  --ink: #24364d;
  --muted: #5b6f86;
  --line: #dbe8f4;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(15, 58, 110, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Tombol ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: inherit; line-height: 1.2; }
.btn i { font-size: 1.2em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(17, 115, 212, .7); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-link { padding-left: 0; padding-right: 0; color: var(--blue); }
.btn-link:hover { color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ice); color: var(--navy); }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1.6rem; }

/* ── Header ─────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 58, 110, .4); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); }
.brand img { width: 46px; height: auto; }
.brand b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.brand small { display: block; font-size: .72rem; color: var(--sky); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: .4rem; }
.nav-link { color: var(--ink); font-weight: 600; padding: .55rem .85rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .2rem; }
.nav-link:hover { color: var(--blue); background: var(--ice); }
.nav .btn { margin-left: .4rem; }
.nav-drop { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .5rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; }
.nav-menu a i { font-size: 1.25rem; color: var(--blue); }
.nav-menu a:hover { background: var(--ice); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.9rem; color: var(--navy); cursor: pointer; padding: .2rem; line-height: 1; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { background: radial-gradient(circle at 85% 20%, rgba(26, 160, 240, .14), transparent 45%), linear-gradient(180deg, var(--ice) 0%, #fff 100%); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #fff; border: 1px solid var(--line); padding: .45em 1em; border-radius: 999px; margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; }
.hero-card { background: #fff; border-radius: 32px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.hero-card::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 160, 240, .35), transparent 70%); z-index: -1; }
.hero-art { position: relative; }

/* ── Section umum ───────────────────────────────────────────────────── */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-head { max-width: 760px; margin-bottom: 2.2rem; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: .6rem; }

.index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.index-card { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--radius); background: var(--ice); border: 1px solid transparent; color: var(--ink); transition: transform .15s, border-color .15s, background .15s; }
.index-card:hover { transform: translateY(-3px); border-color: var(--sky); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.index-card i { font-size: 2rem; color: var(--blue); margin-bottom: .3rem; }
.index-card b { color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.index-card span:last-child { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.index-num { position: absolute; top: 1rem; right: 1.1rem; font-weight: 800; font-size: .85rem; color: var(--sky); }

/* ── Blok produk ────────────────────────────────────────────────────── */
.product { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.product.rev { background: linear-gradient(180deg, #fff 0%, var(--ice) 18%, var(--ice) 82%, #fff 100%); }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product.rev .product-media { order: 2; }
.product-media img { width: 100%; filter: drop-shadow(0 24px 30px rgba(15, 58, 110, .16)); }
.product-ph { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--ice); display: grid; place-items: center; font-size: 5rem; color: var(--blue); }
.caption { font-size: .78rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }
.tagline { font-size: 1.1rem; font-weight: 600; color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
.checks.one { grid-template-columns: 1fr; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; font-weight: 500; line-height: 1.45; }
.checks i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1rem; margin-top: 1px; }
.note { display: flex; gap: .8rem; align-items: flex-start; background: var(--ice); border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: 14px; padding: 1rem 1.1rem; margin-top: 1rem; }
.product.rev .note { background: #fff; }
.note i { font-size: 1.4rem; color: var(--blue); flex-shrink: 0; }
.note p { margin: 0; font-weight: 600; color: var(--navy); font-size: .95rem; }

/* ── Halaman detail produk ──────────────────────────────────────────── */
.page-hero { background: linear-gradient(180deg, var(--ice) 0%, #fff 100%); padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.page-hero h1 { display: flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.page-hero h1 i { color: var(--blue); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.draft { display: inline-flex; gap: .4rem; align-items: center; background: #fff4e0; color: #8a5300; border-radius: 10px; padding: .5rem .8rem; font-size: .88rem; font-weight: 600; margin-bottom: 1rem; }
.detail { padding-top: 1rem; }
.detail-media { margin: 0 0 3rem; background: var(--ice); border-radius: 32px; padding: clamp(1rem, 4vw, 3rem); }
.detail-media img { margin: 0 auto; max-height: 620px; width: auto; }
.detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); }
.detail-grid h2 { font-size: 1.5rem; }
.detail-feats { background: var(--ice); border-radius: var(--radius); padding: 1.6rem; align-self: start; }
.detail-feats .checks { margin-bottom: 0; }
.cta-band { padding: 0; }
.cta-in { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #dbeaf9; border-radius: 28px; padding: clamp(1.8rem, 5vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: .3em; }
.cta-in p { margin: 0; max-width: 46em; }

/* ── Artikel ────────────────────────────────────────────────────────── */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.art-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); background: #fff; transition: transform .15s, box-shadow .15s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.art-card img, .art-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--ice); }
.art-ph { display: grid; place-items: center; font-size: 2.6rem; color: var(--sky); }
.art-card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1.3rem 1.4rem; }
.art-card small { color: var(--sky); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.art-card b { color: var(--navy); font-size: 1.1rem; line-height: 1.35; }
.art-card-body > span { color: var(--muted); font-size: .92rem; }
.art-read { max-width: 760px; }
.art-back { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; margin-bottom: 1.4rem; }
.art-meta { color: var(--sky); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.art-hero { width: 100%; border-radius: var(--radius); margin: 1.5rem 0 2rem; }
.art-body { font-size: 1.07rem; line-height: 1.8; }
.art-body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.art-body h3 { font-size: 1.2rem; margin-top: 1.5em; }
.art-body img { border-radius: 14px; margin: 1.4rem auto; }
.art-body blockquote { margin: 1.5rem 0; padding: .4rem 1.2rem; border-left: 4px solid var(--sky); color: var(--muted); background: var(--ice); border-radius: 0 12px 12px 0; }
.art-body pre { background: #0f1c2e; color: #e6edf6; padding: 1rem; border-radius: 12px; overflow-x: auto; }
.art-body .ql-align-center { text-align: center; }
.art-body .ql-align-right { text-align: right; }
.art-body .ql-align-justify { text-align: justify; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; color: var(--muted); }
.empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.empty i { font-size: 3.5rem; color: var(--sky); }

/* ── Kontak ─────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-info { background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%); color: #cfe2f6; padding: clamp(1.8rem, 4vw, 3rem); }
.contact-info h2 { color: #fff; }
.contact-info .eyebrow { color: #7cc8f7; }
.contact-lines { display: grid; gap: .8rem; margin: 1.8rem 0; }
.contact-lines a, .contact-lines div { display: flex; gap: .9rem; align-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: .85rem 1rem; transition: background .15s; word-break: break-word; }
.contact-lines a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.contact-lines i { font-size: 1.6rem; color: #7cc8f7; flex-shrink: 0; }
.contact-lines span { font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.contact-lines small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7cc8f7; }
.contact-note { font-size: .88rem; color: #a9c6e6; margin: 0; }
.contact-form { background: #fff; padding: clamp(1.8rem, 4vw, 3rem); }
.contact-form h3 { margin-bottom: 1.1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .35rem; }
.field label span { color: #d9361a; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #f8fbfe; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(17, 115, 212, .12); }
.has-error input, .has-error select, .has-error textarea { border-color: #d9361a; }
.field-err { color: #c2301a; font-size: .82rem; margin-top: .3rem; }
.alert { display: flex; gap: .5rem; align-items: center; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1.2rem; font-weight: 600; font-size: .93rem; }
.alert i { font-size: 1.3rem; }
.alert-ok { background: #e6f7ec; color: #17693a; }
.alert-err { background: #fdecea; color: #a52714; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot { background: var(--navy-deep); color: #a9c0da; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 3.5rem; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot h3 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.foot a, .foot span { display: flex; align-items: flex-start; gap: .45rem; color: #a9c0da; margin-bottom: .55rem; word-break: break-word; }
.foot a:hover { color: #fff; }
.foot i { font-size: 1.15rem; margin-top: 2px; }
.foot-brand { align-items: center !important; gap: .7rem !important; margin-bottom: 1rem !important; }
.foot-brand img { width: 46px; background: #fff; border-radius: 10px; padding: 4px 5px; }
.foot-brand b { color: #fff; font-size: 1.05rem; }
.foot p { max-width: 34em; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.2rem; padding-bottom: 1.4rem; font-size: .82rem; color: #7f98b6; }

/* ── Responsif ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; background: #fff; border-bottom: 1px solid var(--line); padding: .8rem 16px 1.2rem; box-shadow: var(--shadow); display: none; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav-link { padding: .8rem .6rem; border-radius: 10px; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 .5rem; min-width: 0; }
  .nav .btn { margin: .6rem 0 0; }
  .hero-grid, .product-grid, .detail-grid, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .product.rev .product-media { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand b { font-size: .9rem; }
  .brand small { font-size: .65rem; }
  .kicker { border-radius: 14px; letter-spacing: .08em; font-size: .72rem; }
  .checks, .row2 { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .index-card { padding: 1.1rem 1rem; }
  .index-card span:last-child { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .actions .btn:not(.btn-link) { flex: 1 1 100%; }
  .contact { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
