/* ==========================================================================
   Arventis situs baru (Model C): komponen tambahan di luar mockup.
   Urutan muat: base.css -> theme.css -> situs.css -> CSS khusus halaman.
   ========================================================================== */

/* --------------------------------------------------------------- aksesibilitas */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--primary); color: #fff; font: 500 14px/20px var(--ff-display); transition: top .15s; }
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- bilah pratinjau */
.pratinjau .mockbar-all { margin-left: auto; }
.pratinjau .mockbar-label { white-space: normal; padding: 8px 0; }
.pratinjau .mockbar-dot { flex: none; }

/* --------------------------------------------------------------- header: enam menu */
@media (max-width: 1240px) { .c-nav a { padding: 8px 9px; } .c-header-in { gap: 14px; } }
@media (max-width: 1100px) { .c-hsearch kbd { display: none; } }

/* --------------------------------------------------------------- footer */
.c-foot-social { display: flex; gap: 8px; margin-top: 16px; }
.c-foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); background: #fff; transition: color .2s, border-color .2s; }
.c-foot-social a:hover { color: var(--primary); border-color: var(--primary); }
.c-lang { cursor: default; }
a.fab { text-decoration: none; }

/* --------------------------------------------------------------- isi hasil migrasi (rich text) */
.prose { font: 400 16px/26px var(--ff-text); color: var(--ink); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--ink-3); }
.prose li > ul, .prose li > ol { margin-top: 6px; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
/* ikon tautan luar: diawali spasi tak-terputus supaya ikon tidak turun sendirian ke baris berikutnya */
.prose a[target="_blank"]:not(.file-link)::after { content: "\00a0north_east"; font-family: var(--ff-icon); font-size: 14px; line-height: 1; vertical-align: -1px; text-decoration: none; font-feature-settings: "liga"; }
.prose a.file-link::before { content: "picture_as_pdf"; font-family: var(--ff-icon); font-size: 18px; line-height: 1; margin-right: 6px; display: inline-block; vertical-align: -4px; color: var(--red-ink); font-feature-settings: "liga"; }
.prose h2 { font: 400 clamp(22px, 2.4vw, 28px)/1.25 var(--ff-display); letter-spacing: -.2px; margin-top: 36px; }
.prose h3 { font: 400 21px/28px var(--ff-display); margin-top: 28px; }
.prose h4 { font: 500 17px/24px var(--ff-display); margin-top: 24px; }
.prose h5, .prose h6 { font: 500 12px/18px var(--ff-text); letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); margin-top: 26px; }
.prose > :first-child { margin-top: 0; }
.prose b, .prose strong { font-weight: 500; }
.prose h2 b, .prose h3 b, .prose h4 b, .prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose img { height: auto; border-radius: 16px; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 28px 0; }
.prose blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--tonal); color: var(--ink-2); }
.prose sup, .prose sub { font-size: .72em; line-height: 0; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.prose table { width: 100%; font: 400 15px/22px var(--ff-text); }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.prose tr:last-child > td { border-bottom: 0; }
.prose th { font-weight: 500; background: var(--surface-2); white-space: nowrap; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line-2); }
.prose .embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .t-red { color: var(--red-ink); }
.prose .t-sm { font-size: 13px; line-height: 19px; color: var(--ink-2); }
.prose .fw-n { font-weight: 400; }
.prose .fw-b { font-weight: 500; }
.prose .fs-i { font-style: italic; }
.prose .td-u { text-decoration: underline; }
.prose .ta-c { text-align: center; }
.prose .ta-r { text-align: right; }
.prose .stars { color: #e37400; letter-spacing: 2px; font-size: 17px; white-space: nowrap; }

/* --------------------------------------------------------------- halaman produk: bagian di bawah lipatan */
a.pd-brand:hover span { color: var(--link); }
.pd-buy a.btn { flex: 1 1 180px; }
.pd-buy-note { margin-top: 12px; }
.pd-mp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 14px/20px var(--ff-text); color: var(--ink-2); }
.pd-mp .chip { height: 34px; }
.pd-arsip { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--tint-yellow); color: #5f4100; font: 400 14px/20px var(--ff-text); }
.pd-thumbs { flex-wrap: wrap; }
.pd-stage:focus-visible { outline-offset: 4px; }
.pd-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; padding: 48px 0 72px; border-top: 1px solid var(--line-2); }
.pd-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-toc p { font: 500 12px/16px var(--ff-text); letter-spacing: .8px; text-transform: uppercase; color: var(--ink-2); padding: 0 12px 10px; }
.pd-toc-list { display: grid; gap: 2px; }
.pd-toc a { padding: 8px 12px; border-radius: 8px; font: 500 14px/20px var(--ff-display); color: var(--ink-2); transition: background-color .15s, color .15s; }
.pd-toc a:hover { background: var(--surface-2); color: var(--ink); }
.pd-toc a.is-on { background: var(--tonal); color: var(--on-tonal); }
.pd-secs { max-width: 860px; min-width: 0; }
.pd-sec { padding: 30px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 8px; }
.pd-sec:first-child { padding-top: 0; }
.pd-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-sec > h2 { font: 400 24px/32px var(--ff-display); letter-spacing: -.2px; margin-bottom: 14px; }
.pd-sec .docs { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pd-related .kat-grid > a { color: var(--link); }
@media (max-width: 900px) {
  .pd-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 0 48px; border-top: 0; }
  .pd-toc { top: var(--header-h); z-index: 5; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
  .pd-toc p { display: none; }
  .pd-toc-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .pd-toc-list::-webkit-scrollbar { display: none; }
  .pd-toc a { white-space: nowrap; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
  .pd-toc a.is-on { border-color: transparent; }
  .pd-sec { scroll-margin-top: 56px; }
  /* deretan chip daftar isi: target sentuh 44 px dan cincin fokus tidak terpotong */
  .pd-toc-list { padding: 5px 4px; margin: -5px -4px; }
  .pd-toc a { position: relative; }
  .pd-toc a::after { content: ""; position: absolute; inset: -6px 0; }
}

/* --------------------------------------------------------------- beranda: sorotan (slide situs lama) */
.c-spot { padding-top: 72px; padding-bottom: 72px; }
.c-spot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.c-spot-card { border-radius: 24px; overflow: hidden; aspect-ratio: 1920 / 860; background: var(--surface-2); transition: box-shadow .2s, transform .2s var(--ease); }
.c-spot-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.c-spot-card img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .c-spot-row { grid-template-columns: minmax(0, 1fr); gap: 12px; } .c-spot-card { border-radius: 18px; } }
.c-svc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* --------------------------------------------------------------- kepala halaman dalam (artikel, layanan, tentang, kontak) */
.pg-hero { padding: 56px 0 44px; background: radial-gradient(760px 320px at 20% -60px, #dbe7fb 0%, rgba(219, 231, 251, 0) 72%), radial-gradient(520px 260px at 92% 10%, rgba(230, 244, 234, .8), rgba(230, 244, 234, 0) 70%), #fff; }
.pg-hero .crumbs { padding-top: 0; }
.pg-hero h1 { font: 400 clamp(34px, 4.6vw, 56px)/1.1 var(--ff-display); letter-spacing: -1.2px; margin: 12px 0 16px; max-width: 880px; }
.pg-hero .lead { font: 400 18px/28px var(--ff-text); color: var(--ink-2); max-width: 720px; }
.pg-hero.has-img > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pg-hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.pg-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pg-sec { padding: 64px 0; }
.pg-sec.tint { background: var(--surface); }
.pg-narrow { max-width: calc(820px + var(--gutter) * 2); }
@media (max-width: 900px) { .pg-hero { padding: 36px 0 32px; } .pg-hero.has-img > .container { gap: 28px; } .pg-sec { padding: 44px 0; } }
@media (max-width: 720px) { .pg-hero.has-img > .container { grid-template-columns: minmax(0, 1fr); } .pg-hero-img { aspect-ratio: 16 / 9; max-height: 300px; } }

/* --------------------------------------------------------------- 404 */
.nf { max-width: 620px; margin: 0 auto; padding: 96px 0 120px; text-align: center; }
.nf-ic { font-size: 56px; color: var(--primary); }
.nf h1 { font: 400 clamp(30px, 4vw, 44px)/1.15 var(--ff-display); letter-spacing: -.6px; margin: 16px 0 10px; }
.nf p { color: var(--ink-2); }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.kat-noscript { display: grid; gap: 6px; padding: 16px 0; }
.kat-noscript a { color: var(--link); text-decoration: underline; }

/* --------------------------------------------------------------- galeri produk: foto tidak pernah terpotong */
.page-produk .pd-stage { background: #fff; }
.page-produk .pd-stage img, .page-produk .pd-stage.photo img { width: 100%; height: 100%; object-fit: contain; }
.page-produk .pd-stage:hover img { transform: none; }
.page-produk .pd-thumbs img, .page-produk .pd-thumbs .photo img { object-fit: contain; }

/* --------------------------------------------------------------- catatan di bawah harga & video produk */
.pd-notes { display: grid; gap: 6px; margin-top: -8px; }
.pd-notes li { display: flex; gap: 8px; align-items: flex-start; font: 400 14px/20px var(--ff-text); color: var(--ink-2); }
.pd-notes .ms { color: var(--ink-3); margin-top: 1px; }
.pd-notes a, .pd-arsip a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.yt { position: relative; display: block; max-width: 720px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0b1b33; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .2s; }
.yt:hover img { transform: scale(1.02); opacity: .92; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--primary); box-shadow: var(--sh-3); transition: transform .2s var(--ease); }
.yt:hover .yt-play { transform: scale(1.06); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* teks hitam di dalam pembungkus merah (situs lama: span merah berisi span hitam) + rating penuh */
.prose .t-ink { color: var(--ink); }
.prose .stars[data-n="5"] { color: var(--green-ink); }

/* daftar produk statis di halaman katalog (sebelum JS menggantinya dengan kartu; juga untuk perayap) */
.kat-statis { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; font: 400 14px/20px var(--ff-text); color: var(--ink-2); }
.kat-statis b { font: 500 15px/20px var(--ff-text); color: var(--ink); }
.kat-statis:hover b { color: var(--link); }

/* header: logo tidak boleh tergencet saat menu penuh (sekitar 961-1100 px) */
.c-logo { flex: none; }
.c-logo img { max-width: none; }
@media (max-width: 1100px) and (min-width: 961px) { .c-nav a { padding: 8px 7px; font-size: 13px; } .c-hsearch span:nth-child(2) { display: none; } .c-hsearch { flex: 0 0 auto; width: 44px; padding: 0 10px; justify-content: center; } }
/* pita ajakan penutup: theme.css memberi .c-sec padding 56px di mobile dan menimpa padding-top: 0 */
@media (max-width: 640px) { .c-sec.c-help-sec { padding-top: 0; } }

/* sel tabel di isi hasil migrasi: jangan pecah per huruf di layar sempit */
.prose :is(th, td) { overflow-wrap: break-word; }
/* target sentuh 44 px untuk tautan kecil (remah roti, tautan di kepala bagian) tanpa mengubah tata letak */
.crumbs a, .c-head .link { position: relative; }
.crumbs a::after, .c-head .link::after { content: ""; position: absolute; inset: -12px -2px; }

/* catatan di bawah harga: miring bawaan situs lama dinetralkan supaya seragam */
.pd-notes em, .pd-notes i { font-style: normal; }
