/* ==========================================================================
   Sinergi Semesta Pratama – stylesheet utama (mobile-first, tanpa framework)
   ========================================================================== */

@font-face {
    font-family: "Labrador";
    src: url("../fonts/labrador-b-bold.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Labrador";
    src: url("../fonts/labrador-a-regular.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

:root {
    --brand: #f26522;
    /* Oranye gelap untuk teks kecil & latar tombol (kontras 5.4:1, lolos WCAG AA). */
    --brand-dark: #b8440c;
    --brand-darker: #9a380a;
    --ink: #1f1f22;
    --ink-soft: #4a4a52;
    --muted: #6b6b73;
    --line: #e4e4e8;
    --bg: #ffffff;
    --bg-muted: #f5f5f6;
    --bg-dark: #232326;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(20, 20, 30, .08);
    --header-h: 68px;
    --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Labrador", "Quicksand", system-ui, sans-serif;
    --space: clamp(3rem, 7vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

/* Pengaman: tidak boleh ada scroll horizontal di layar sempit. */
html, body { overflow-x: clip; }

.hero__title, .page-hero__title, .section-title { overflow-wrap: break-word; hyphens: auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }

p { margin: 0 0 1em; }

address { font-style: normal; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .container { padding-inline: 1.5rem; } }

.icon { flex-shrink: 0; vertical-align: middle; }

.muted { color: var(--muted); }

/* ---------- Tombol & tautan ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-dark); color: #fff; }
.btn--primary:hover { background: var(--brand-darker); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--ink); color: #fff; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 700; color: var(--brand-dark); text-decoration: none;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; width: 18px; height: 18px; }

.eyebrow {
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand-dark); margin-bottom: .5rem;
}
.page-hero .eyebrow, .section--dark .eyebrow, .hero .eyebrow { color: var(--brand); }

/* ---------- Header & navigasi ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }

.site-logo img { height: 44px; width: auto; max-width: calc(100vw - 100px); object-fit: contain; object-position: left; }
.site-logo span { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }

.nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border: 0; background: transparent; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .25s, opacity .25s; position: relative;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: panel tidak digeser keluar layar (itu memicu scroll horizontal), cukup disembunyikan. */
.site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    padding: 1.5rem 1rem; overflow-y: auto; display: none;
}
.site-nav.is-open { display: block; animation: nav-in .2s ease-out; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.site-nav a {
    display: block; padding: .9rem 1rem; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none;
}
.site-nav a:hover { background: var(--bg-muted); color: var(--brand-dark); }
.site-nav a.is-active { color: var(--brand-dark); background: #fff3ec; }

@media (min-width: 992px) {
    .nav-toggle { display: none; }
    .site-nav { position: static; display: block; padding: 0; background: none; overflow: visible; animation: none; }
    .site-nav ul { display: flex; gap: .25rem; }
    .site-nav a { font-size: .95rem; padding: .5rem .9rem; position: relative; }
    .site-nav a:hover { background: none; }
    .site-nav a.is-active { background: none; }
    .site-nav a.is-active::after {
        content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem;
        height: 2px; background: var(--brand); border-radius: 2px;
    }
}

/* ---------- Section umum ---------- */
.section { padding-block: var(--space); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--bg-dark); color: #d6d6db; }
.section--dark .section-title, .section--dark h3 { color: #fff; }
.section--dark a { color: #ffb38a; }
.section--accent { background: var(--brand-dark); color: #fff; }
.section--accent .section-title { color: #fff; }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 2rem; }
.section-head .section-title { margin: 0; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }

.prose { max-width: 68ch; }

/* ---------- Hero beranda ---------- */
.hero {
    position: relative; isolation: isolate; color: #fff;
    min-height: min(88vh, 760px); display: flex; align-items: center;
    padding-block: 4rem; background: var(--bg-dark);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(15, 15, 18, .82) 0%, rgba(15, 15, 18, .55) 55%, rgba(15, 15, 18, .3) 100%);
}
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__partner img { width: clamp(140px, 30vw, 300px); }
.hero__eyebrow { font-weight: 600; font-size: clamp(1rem, 2.4vw, 1.3rem); margin-bottom: .5rem; }
.hero__title { color: #fff; font-size: clamp(2.1rem, 6vw, 3.8rem); margin-bottom: 1rem; }
.hero__lead { font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255, 255, 255, .85); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

@media (min-width: 992px) {
    .hero__grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
}

/* ---------- Hero halaman dalam ---------- */
.page-hero {
    position: relative; isolation: isolate;
    background: var(--bg-dark); color: #e8e8ec;
    padding-block: clamp(2.5rem, 6vw, 5rem);
}
.page-hero--image { min-height: 360px; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, rgba(15, 15, 18, .9) 0%, rgba(15, 15, 18, .55) 60%, rgba(15, 15, 18, .35) 100%);
}
.page-hero__title { color: #fff; font-size: clamp(1.9rem, 5vw, 3.2rem); max-width: 22ch; }
.page-hero__lead { max-width: 70ch; font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255, 255, 255, .85); margin: 0; }
.page-hero__content--split { display: grid; gap: 1.5rem; align-items: center; }
.page-hero__icon { width: clamp(96px, 18vw, 160px); }
.page-hero__logo { width: clamp(160px, 30vw, 260px); background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); }

@media (min-width: 768px) {
    .page-hero__content--split { grid-template-columns: 1fr auto; gap: 3rem; }
}

.breadcrumbs { margin-bottom: 1.25rem; font-size: .85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Intro & split ---------- */
.intro__grid, .split { display: grid; gap: 2rem; align-items: center; }
.intro__media img, .split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.intro__media, .split__media { margin: 0; }
@media (min-width: 992px) {
    .intro__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
    .split { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}

/* ---------- Grid kartu ---------- */
.card-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
@media (min-width: 768px) { .card-grid { gap: 1.5rem; } }
.card-grid--types { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.card-grid--brands { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.type-card {
    display: block; position: relative; overflow: hidden; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
}
.type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.type-card:hover img { transform: scale(1.05); }
.type-card__title { display: block; padding: 1rem 1.25rem; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.type-card:hover .type-card__title { color: var(--brand-dark); }

.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; position: relative;
}
.feature-card p { margin: 0; }
.feature-card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.feature-card__title a { color: inherit; text-decoration: none; }
.feature-card__title a::after { content: ""; position: absolute; inset: 0; }
.feature-card:has(a):hover { border-color: var(--brand); }
.feature-card__number { font-family: var(--font-head); font-size: 2rem; color: var(--brand); display: block; line-height: 1; margin-bottom: .75rem; }
.feature-card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.feature-card__icon { color: var(--brand); width: 28px; height: 28px; margin-bottom: .75rem; }
.card-grid--numbered { counter-reset: none; }

/* ---------- Produk ---------- */
.chip-nav { margin-bottom: 2rem; }
.chip-nav ul {
    list-style: none; margin: 0; padding: .25rem 0; display: flex; gap: .5rem;
    overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.chip-nav--sticky { position: sticky; top: var(--header-h); z-index: 10; background: var(--bg); padding-block: .5rem; }
.chip {
    display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px;
    padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line);
    color: var(--ink); background: #fff; font-weight: 600; font-size: .92rem; text-decoration: none;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-group + .product-group { margin-top: 3.5rem; }
.product-group__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.product-group__head .section-title { margin: 0; }
.product-group__head img { width: 44px; height: 44px; object-fit: contain; }
.product-group__desc { max-width: 70ch; }

.family-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.family-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.family-card__type { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: .35rem; }
.family-card__title { font-size: 1.25rem; }
.family-card__title a { color: var(--ink); text-decoration: none; }
.family-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.family-card__desc { flex: 1; font-size: .95rem; }

.brand-card {
    display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.75rem 1.25rem; text-align: center; text-decoration: none; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.brand-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.brand-card img { height: 64px; width: auto; object-fit: contain; margin-bottom: .5rem; }
.brand-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-card__meta { font-size: .85rem; color: var(--muted); }

/* Daftar kemasan di halaman Produk (komponen sama dengan keterangan kemasan di detail merek) */
.packaging-section { margin-top: 1.75rem; }
.packaging-section .legend__list { gap: 1rem; }
.packaging-section .legend__item { padding: 1.1rem 1.25rem; }
.packaging-section .legend__icon { width: 48px; height: 48px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-table { width: 100%; border-collapse: collapse; }
.product-table th, .product-table td { text-align: left; padding: .9rem 1.25rem; vertical-align: middle; }
.product-table thead th { background: var(--bg-dark); color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.product-table tbody tr:nth-child(even) { background: var(--bg-muted); }
.product-table tbody th { color: var(--ink); font-weight: 700; }
.product-table td { display: flex; flex-wrap: wrap; gap: .4rem; }

.pack-badge {
    display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600;
    padding: .2rem .6rem .2rem .25rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
}
.pack-badge img { width: 24px; height: 24px; object-fit: contain; }

/* Tabel menjadi kartu di layar kecil */
@media (max-width: 599px) {
    .product-table thead { display: none; }
    .product-table, .product-table tbody, .product-table tr, .product-table th, .product-table td { display: block; width: 100%; }
    .product-table tr { padding: 1rem; border-bottom: 1px solid var(--line); }
    .product-table tbody th, .product-table td { padding: 0; }
    .product-table tbody th { margin-bottom: .5rem; font-size: 1.05rem; }
    .product-table td { display: flex; }
}

.legend { margin-top: 1.5rem; background: var(--bg-muted); border-radius: var(--radius); padding: 1.25rem; }
.legend__title { font-size: 1.1rem; margin-bottom: 1rem; }
.legend__list { display: grid; gap: .75rem; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 600px) { .legend__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .legend__list { grid-template-columns: repeat(3, 1fr); } }
.legend__item { display: flex; align-items: flex-start; gap: .85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.legend__item > div { flex: 1; min-width: 0; }
.legend__icon { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.legend__list dt { font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.legend__list dd { margin: 0; font-size: .9rem; display: grid; gap: .2rem; }
/* Satu kapasitas per baris: jenis di kiri, volume rata kanan */
.legend__row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .2rem; border-bottom: 1px dashed var(--line); }
.legend__row:last-child { border-bottom: 0; padding-bottom: 0; }
.legend__label { color: var(--muted); }
.legend__value { font-weight: 600; color: var(--ink); white-space: nowrap; text-align: right; }

.empty { padding: 2rem; background: var(--bg-muted); border-radius: var(--radius); }

/* ---------- Layanan ---------- */
.service-list { display: grid; gap: 2.5rem; }
.service { display: grid; gap: 1.25rem; align-items: center; }
.service__media { margin: 0; }
.service__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.service__number { font-family: var(--font-head); font-size: 2.5rem; line-height: 1; color: var(--brand); display: block; margin-bottom: .5rem; }
.service__title { font-size: clamp(1.35rem, 3vw, 1.8rem); }
@media (min-width: 768px) {
    .service { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
    .service:nth-child(even) .service__media { order: 2; }
}

.cta__inner { text-align: center; max-width: 720px; }
.cta__inner p { font-size: 1.1rem; margin-bottom: 1.5rem; }

/* ---------- Lokasi & kontak ---------- */
.location__grid { display: grid; gap: 2rem; align-items: center; }
.location address { margin-bottom: 1.5rem; font-size: 1.05rem; }
.location__map img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 992px) { .location__grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

.contact__grid { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .contact__grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; } }
.contact__info { background: rgba(255, 255, 255, .05); border-radius: var(--radius); padding: 1.5rem; align-self: start; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact__list li { display: flex; align-items: center; gap: .65rem; }
.contact__list .icon { color: var(--brand); }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: .35rem; }
.form__field label { font-weight: 600; font-size: .92rem; color: #fff; }
.form__optional { font-weight: 400; opacity: .7; }
.form input, .form textarea {
    width: 100%; font: inherit; font-size: 1rem; /* 16px: mencegah zoom otomatis di iOS */
    padding: .8rem 1rem; border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: rgba(255, 255, 255, .1); }
.form [aria-invalid="true"] { border-color: #ff7b7b; }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.alert ul { margin: .25rem 0 0; padding-left: 1.25rem; }
.alert p { margin: 0; }
.alert--success { background: #e6f7ee; color: #14532d; }
.alert--error { background: #fde8e8; color: #7f1d1d; }

/* ---------- Footer ---------- */
.site-footer { background: #151517; color: #a9a9b2; padding-top: 3.5rem; font-size: .95rem; }
.site-footer a { color: #e2e2e6; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1.2fr .8fr; gap: 3rem; } }
.site-footer__title { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer__address { margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__list li { display: flex; align-items: center; gap: .5rem; }
.site-footer__list .icon { width: 16px; height: 16px; color: var(--brand); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-block: 1.25rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

.whatsapp-float {
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* ---------- Halaman error ---------- */
.error-page__inner { text-align: center; max-width: 640px; }
.error-page__inner .page-hero__title { color: var(--ink); margin-inline: auto; }
.error-page__inner .hero__actions { justify-content: center; }
.error-page__code { font-family: var(--font-head); font-size: clamp(4rem, 15vw, 7rem); line-height: 1; color: var(--brand); margin: 0; }

/* ---------- Pagination (dipakai juga di admin) ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.pagination__item { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.pagination__item.is-disabled { opacity: .45; }
.pagination__info { color: var(--muted); font-size: .9rem; }

@media print {
    .site-header, .site-footer, .whatsapp-float, .chip-nav, .cta { display: none !important; }
    .page-hero, .section--dark { background: none; color: #000; }
    .page-hero__title, .section--dark .section-title { color: #000; }
}
