/* ==========================================================================
   FOTO BOOKING — FrameNoSekai
   Dark editorial theme (pure CSS, tanpa framework)
   Palet selaras logo LIGHTHOUSE STUDIO (materi/logo.webp): magenta di atas
   hitam bertingkat, aksen sekunder cyan, kuning logo untuk status warn.
   Breakpoint konsisten di semua halaman: 640px / 768px / 1024px (mobile-first)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Warna brand — magenta logo (#F00078), dirilis gelap agar lolos WCAG */
    --c-brand: #DB2777;
    --c-brand-dark: #BE185D;
    --c-cyan: #38BDF8;
    --c-canvas: #050505;
    --c-surface: #101010;
    --c-card: #151515;
    --c-border: #2A2A2A;
    --c-text: #F5F5F5;
    --c-muted: #A0A0A0;

    /* Warna status */
    --c-ok: #10B981;
    --c-ok-bright: #34D399;
    --c-warn: #FACC15;

    /* Font */
    --f-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --f-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --f-accent: 'Cormorant Garamond', Georgia, serif;
    --f-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;

    /* Ritme */
    --container: 80rem;
    --header-h: 5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.2s var(--ease);
    --t-mid: 0.35s var(--ease);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--c-canvas);
    color: var(--c-text);
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Atribut hidden harus selalu menang atas display utilitas */
[hidden] {
    display: none !important;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--c-brand);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
}

/* Scrollbar editorial */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--c-canvas);
}

::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-brand);
}

/* --------------------------------------------------------------------------
   3. Utilitas
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
}

.section {
    padding-block: 5.5rem;
    overflow: hidden; /* lebar tak pernah melebihi layar */
    position: relative;
}

.section--surface {
    background: var(--c-surface);
    border-block: 1px solid var(--c-border);
}

.font-display {
    font-family: var(--f-display);
    letter-spacing: 0.05em;
}

.font-accent {
    font-family: var(--f-accent);
    font-style: italic;
    font-weight: 400;
}

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

.text-brand {
    color: var(--c-brand);
}

/* Screen-reader only (input radio tersembunyi di kartu pilihan) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Kicker serif-italic magenta di atas heading Bebas (ciri khas materi) */
.kicker {
    font-family: var(--f-accent);
    font-style: italic;
    font-size: 1.375rem;
    color: var(--c-brand);
    line-height: 1.2;
}

.section-head {
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

.section-head__title {
    font-family: var(--f-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.05;
    margin-top: 0.25rem;
    text-wrap: balance;
}

.section-head__desc {
    margin-top: 0.75rem;
    color: var(--c-muted);
    max-width: 34rem;
    font-weight: 300;
}

.section-head--center {
    text-align: center;
    border-bottom: 0;
    padding-bottom: 0;
}

.section-head--center .section-head__desc {
    margin-inline: auto;
}

.section-head--center::after {
    content: "";
    display: block;
    width: 3rem;
    height: 0.25rem;
    background: var(--c-brand);
    margin: 1rem auto 0;
}

/* --------------------------------------------------------------------------
   4. Loading screen (dual ring, identik materi)
   -------------------------------------------------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.loader.is-done {
    opacity: 0;
    pointer-events: none;
}

.loader__rings {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
}

.loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--c-border);
}

.loader__ring--outer {
    border-color: var(--c-brand);
    border-top-color: transparent;
    animation: fns-spin 0.9s linear infinite;
}

.loader__ring--inner {
    inset: 0.5rem;
    border-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: var(--c-brand);
    animation: fns-spin 0.9s linear infinite reverse;
}

.loader__caption {
    font-family: var(--f-display);
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-muted);
}

@keyframes fns-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   5. Header (sticky blur)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
}

.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.brand__mark {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    background: var(--c-brand);
    color: #fff;
    font-family: var(--f-display);
    font-size: 1.375rem;
    letter-spacing: 0;
    transition: var(--t-fast);
}

.brand:hover .brand__mark {
    background: #fff;
    color: #000;
}

.brand__word {
    font-family: var(--f-display);
    font-size: 1.375rem;
    letter-spacing: 0.12em;
    color: #fff;
    white-space: nowrap;
}

/* em = markup asli tema; i = hasil round-trip CKEditor saat brand diedit inline */
.brand__word em,
.brand__word i {
    font-family: var(--f-accent);
    font-style: italic;
    font-weight: 400;
    color: var(--c-brand);
    letter-spacing: normal;
}

.brand__tag {
    display: none;
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-muted);
    font-weight: 600;
}

/* Logo situs (setting core site_logo) menggantikan monogram + teks brand */
.brand__logo {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.main-nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D4D4D4;
    transition: color var(--t-fast);
}

.main-nav__link:hover,
.main-nav__link[aria-current="page"] {
    color: var(--c-brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: #D4D4D4;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--t-fast);
}

.portal-link:hover {
    border-color: var(--c-brand);
    color: #fff;
}

/* Spesifisitas ganda agar mengalahkan .btn { display:inline-flex } */
.btn.btn--header-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #fff;
    transition: color var(--t-fast);
}

.menu-toggle:hover {
    color: var(--c-brand);
}

/* Baris hamburger — morph ke X saat aria-expanded="true" */
.menu-toggle__bar {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform var(--t-mid), opacity var(--t-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--top {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--mid {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar--bottom {
    transform: translateY(-6px) rotate(-45deg);
}

/* Drawer mobile — absolute di bawah header agar halaman tidak ikut terdorong;
   animasi transform+opacity (compositor) sehingga smooth */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 1.25rem 1.5rem rgba(0, 0, 0, 0.25);
    padding: 1.5rem 1rem;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h)); /* dinamic viewport (fallback baris atas) */
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition:
        transform var(--t-mid),
        opacity var(--t-mid),
        visibility 0s linear var(--t-mid);
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
        transform var(--t-mid),
        opacity var(--t-mid),
        visibility 0s;
}

.mobile-menu__link {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #D4D4D4;
    border-bottom: 1px solid var(--c-border);
    opacity: 0;
    transform: translateY(-0.375rem);
    transition: opacity var(--t-fast), transform var(--t-fast);
}

.mobile-menu__link:last-of-type {
    border-bottom: 0;
}

/* Stagger link saat drawer terbuka; saat menutup kembali ke delay 0 (aturan dasar) */
.mobile-menu.is-open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.3s; }

.mobile-menu .btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Tombol
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid transparent;
    transition: var(--t-mid);
    min-height: 44px;
}

.btn--primary {
    background: var(--c-brand);
    color: #fff;
    box-shadow: 0 8px 24px rgba(219, 39, 119, 0.2);
}

.btn--primary:hover {
    background: var(--c-brand-dark);
    box-shadow: 0 12px 32px rgba(219, 39, 119, 0.3);
}

.btn--ghost {
    background: rgba(16, 16, 16, 0.8);
    border-color: var(--c-border);
    color: #fff;
}

.btn--ghost:hover {
    border-color: var(--c-cyan);
    color: var(--c-cyan);
}

.btn--wide {
    width: 100%;
}

.btn[disabled],
.btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: min(85vh, 48rem);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* jaga lebar */
    border-bottom: 1px solid var(--c-border);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.9));
}

.hero__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding-block: 4rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.875rem;
    background: rgba(219, 39, 119, 0.15);
    border: 1px solid rgba(219, 39, 119, 0.4);
    color: var(--c-brand);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
}

.hero__badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--c-brand);
    animation: fns-pulse 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--f-display);
    font-size: clamp(3rem, 9vw, 5.5rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    text-wrap: balance;
}

.hero__title .hero__title-accent {
    display: block;
    font-family: var(--f-accent);
    font-style: italic;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0;
    color: var(--c-brand);
    font-size: clamp(2.25rem, 7vw, 4.25rem);
    line-height: 1.05;
    margin-top: 0.25rem;
}

.hero__lead {
    margin-top: 1.5rem;
    max-width: 36rem;
    color: #D4D4D4;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

/* Strip metadata bawah hero */
.hero__meta {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--c-border);
    background: rgba(5, 5, 5, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-block: 1.125rem;
}

.hero__meta-item {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.hero__meta-item strong {
    display: block;
    color: var(--c-text);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.hero__meta-item--ok strong {
    color: var(--c-ok-bright);
}

/* --------------------------------------------------------------------------
   8. Kartu paket
   -------------------------------------------------------------------------- */
.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.package-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 1.75rem;
    transition: var(--t-mid);
}

.package-card:hover {
    border-color: var(--c-brand);
}

.package-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--c-border);
}

.package-card__name {
    font-family: var(--f-display);
    font-size: 1.375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    transition: color var(--t-fast);
}

.package-card:hover .package-card__name {
    color: var(--c-brand);
}

.package-card__duration {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
    margin-top: 0.25rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-family: var(--f-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid;
}

.badge--red {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

.badge--outline-red {
    background: rgba(219, 39, 119, 0.12);
    border-color: rgba(219, 39, 119, 0.4);
    color: var(--c-brand);
}

.package-card__price {
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--c-brand);
    letter-spacing: 0.04em;
    margin: 1.125rem 0 0.25rem;
}

.package-card__desc {
    font-size: 0.8125rem;
    color: var(--c-muted);
    font-weight: 300;
    margin-bottom: 1.125rem;
}

.package-card__features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.package-card__features li {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    padding-block: 0.5rem;
    border-bottom: 1px solid var(--c-border);
    font-size: 0.8125rem;
    color: #D4D4D4;
}

.package-card__features li::before {
    content: "—";
    color: var(--c-brand);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Portfolio
   -------------------------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--c-border);
    aspect-ratio: 3 / 4;
    background: var(--c-surface);
    cursor: zoom-in;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
    transform: scale(1.05);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1) 55%, transparent);
    opacity: 0;
    transition: opacity var(--t-mid);
}

.portfolio-item:hover .portfolio-item__overlay,
.portfolio-item:focus-visible .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.portfolio-item__cat {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   10. Papan slot live
   -------------------------------------------------------------------------- */
.slot-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-muted);
}

.slot-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.slot-legend i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
}

.slot-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.slot-group {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
}

.slot-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
}

.slot-group__date {
    font-family: var(--f-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.06em;
}

.slot-group__loc {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.slot-list {
    display: grid;
    grid-template-columns: 1fr;
}

.slot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    transition: var(--t-fast);
}

.slot-card:last-child {
    border-bottom: 0;
}

.slot-card__time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--f-mono);
    font-size: 0.9375rem;
    color: #fff;
}

.slot-card__time i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.slot-status {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.5rem;
    border: 1px solid;
    white-space: nowrap;
}

.slot-card--available i {
    background: var(--c-ok);
}

.slot-card--available .slot-status {
    color: var(--c-ok-bright);
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.12);
}

.slot-card--available:hover {
    background: var(--c-card);
}

.slot-card--held i {
    background: var(--c-warn);
}

.slot-card--held .slot-status {
    color: #FBBF24;
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
}

.slot-card--booked {
    opacity: 0.45;
    pointer-events: none;
}

.slot-card--booked i {
    background: var(--c-brand);
}

.slot-card--booked .slot-status {
    color: var(--c-brand);
    border-color: rgba(219, 39, 119, 0.35);
    background: rgba(219, 39, 119, 0.12);
}

.slot-card__cta {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.slot-card__loc {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--c-border);
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--c-border);
    background: var(--c-canvas);
    padding-block: 3rem;
    font-size: 0.75rem;
    color: var(--c-muted);
    overflow: hidden;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.site-footer__brand {
    font-family: var(--f-display);
    font-size: 1rem;
    letter-spacing: 0.14em;
    color: #fff;
}

/* em = markup asli tema; i = hasil round-trip CKEditor saat brand diedit inline */
.site-footer__brand em,
.site-footer__brand i {
    font-family: var(--f-accent);
    font-style: italic;
    color: var(--c-brand);
    letter-spacing: normal;
}

/* Logo situs (setting core site_logo) menggantikan teks brand di footer */
.site-footer__logo {
    display: block;
    height: 1.75rem;
    width: auto;
    max-width: 8rem;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.site-footer__sep {
    display: none;
}

/* --------------------------------------------------------------------------
   12. Form & wizard booking
   -------------------------------------------------------------------------- */
.page-wrap {
    padding-block: 3.5rem;
    overflow: hidden;
}

.page-title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.05;
}

.page-sub {
    color: var(--c-muted);
    font-weight: 300;
    margin-top: 0.5rem;
    max-width: 40rem;
}

/* Hold timer bar */
.hold-bar {
    display: none;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(219, 39, 119, 0.1);
    border: 1px solid rgba(219, 39, 119, 0.3);
}

.hold-bar.is-active {
    display: flex;
}

.hold-bar__clock {
    color: var(--c-brand);
    animation: fns-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.hold-bar__label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    flex: 1;
    min-width: 0;
}

.hold-bar__time {
    font-family: var(--f-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-brand);
}

/* Progress bar 7 segmen */
.wizard-progress {
    display: flex;
    gap: 0.375rem;
    margin-block: 1.25rem;
}

.wizard-progress__seg {
    flex: 1;
    height: 0.25rem;
    background: var(--c-border);
    transition: background var(--t-mid);
}

.wizard-progress__seg.is-active {
    background: var(--c-brand);
}

.wizard-progress__seg.is-done {
    background: var(--c-brand-dark);
}

.wizard-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
}

.wizard-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

.wizard-card__step-label {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.wizard-card__body {
    padding: 1.5rem;
}

/* Satu step wizard */
.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
    animation: fns-rise 0.4s var(--ease);
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-brand);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

.field {
    margin-bottom: 1.25rem;
}

.field__label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.field__input,
.field__select,
.field__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--c-canvas);
    border: 1px solid var(--c-border);
    color: #fff;
    font-family: var(--f-body);
    font-size: 0.9375rem;
    transition: border-color var(--t-fast);
    border-radius: 0;
    min-height: 44px;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
    outline: none;
    border-color: var(--c-brand);
}

.field__input::placeholder,
.field__textarea::placeholder {
    color: #5C5C5C;
    font-family: var(--f-mono);
    font-size: 0.8125rem;
}

.field__textarea {
    min-height: 6rem;
    resize: vertical;
}

.field__hint {
    font-size: 0.6875rem;
    color: var(--c-muted);
    margin-top: 0.375rem;
}

.field__error {
    font-size: 0.6875rem;
    color: var(--c-brand);
    margin-top: 0.375rem;
}

.field--check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.field--check input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.25rem;
    accent-color: var(--c-brand);
    flex-shrink: 0;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1.25rem;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
}

/* Kartu pilihan (paket/slot/pembayaran) di wizard */
.select-card {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    padding: 1.125rem 1.25rem;
    transition: var(--t-fast);
    margin-bottom: 0.75rem;
}

.select-card:hover {
    border-color: var(--c-brand);
}

.select-card.is-selected {
    border-color: var(--c-brand);
    background: rgba(219, 39, 119, 0.08);
}

.select-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.select-card__title {
    font-family: var(--f-display);
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.select-card__meta {
    font-size: 0.75rem;
    color: var(--c-muted);
    margin-top: 0.25rem;
}

.select-card__price {
    font-family: var(--f-display);
    color: var(--c-brand);
    font-size: 1.25rem;
    white-space: nowrap;
}

.select-card--slot {
    font-family: var(--f-mono);
}

.select-card--slot.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Kalender slot wizard (step 5) */
.slot-calendar {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    padding: 1.25rem;
}

.slot-calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.slot-calendar__month {
    font-family: var(--f-display);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.slot-calendar__nav {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    color: var(--c-muted);
    transition: var(--t-fast);
    flex-shrink: 0;
}

.slot-calendar__nav:hover:not(:disabled) {
    color: var(--c-brand);
    border-color: var(--c-brand);
}

.slot-calendar__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.slot-calendar__dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.slot-calendar__dow span {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    text-align: center;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--c-border);
}

.slot-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.slot-cal-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    min-height: 2.5rem;
    font-family: var(--f-mono);
    font-size: 0.8125rem;
    color: var(--c-muted);
    border: 1px solid transparent;
    background: transparent;
}

.slot-cal-day--blank {
    visibility: hidden;
}

.slot-cal-day--empty {
    opacity: 0.4;
}

.slot-cal-day--out {
    opacity: 0.18;
}

.slot-cal-day--open {
    color: var(--c-text);
    background: var(--c-surface);
    border-color: var(--c-border);
    cursor: pointer;
    transition: var(--t-fast);
}

.slot-cal-day--open:hover {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

/* Titik magenta penanda ada slot */
.slot-cal-day--open::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: var(--c-brand);
}

/* Tanggal hari ini — nomor bergaris bawah magenta */
.slot-cal-day--today .slot-cal-day__num {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--c-brand);
    text-underline-offset: 0.25em;
}

/* Tanggal slot yang sedang dipilih — specificity tinggi agar tidak
   ditimpa override light-theme di bawah file */
.slot-calendar__grid .slot-cal-day--picked {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

.slot-calendar__grid .slot-cal-day--picked::after {
    background: #fff;
}

.slot-calendar__legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    color: var(--c-muted);
    margin-top: 1rem;
}

.slot-calendar__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--c-brand);
    flex-shrink: 0;
}

/* Ringkasan slot terpilih */
.slot-picked {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--c-brand);
    background: rgba(219, 39, 119, 0.08);
}

.slot-picked__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--c-muted);
    font-weight: 600;
    white-space: nowrap;
}

.slot-picked__value {
    font-family: var(--f-mono);
    font-size: 0.875rem;
    color: #fff;
}

/* Popup jam slot */
.slot-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.slot-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.slot-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 26rem;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 1.5rem;
    animation: fns-rise 0.35s var(--ease);
}

.slot-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.slot-modal__title {
    font-family: var(--f-display);
    font-size: 1.375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-brand);
}

.slot-modal__close {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    color: var(--c-muted);
    transition: var(--t-fast);
    flex-shrink: 0;
}

.slot-modal__close:hover {
    color: var(--c-brand);
    border-color: var(--c-brand);
}

.slot-modal__sub {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
    margin-bottom: 1rem;
}

.slot-modal__times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 0.5rem;
}

.slot-time-btn {
    padding: 0.75rem 0.5rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    font-family: var(--f-mono);
    font-size: 0.8125rem;
    color: var(--c-text);
    text-align: center;
    transition: var(--t-fast);
}

.slot-time-btn:hover:not(:disabled) {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

.slot-modal__times .slot-time-btn.is-selected {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

.slot-time-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Pembayaran */
.pay-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pay-box {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    padding: 1.5rem;
}

.pay-box__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.pay-box img {
    width: 100%;
    max-width: 18rem;
    margin-inline: auto;
    border: 1px solid var(--c-border);
    background: var(--c-canvas);
}

.pay-rows {
    font-family: var(--f-mono);
    font-size: 0.8125rem;
}

.pay-rows div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.625rem;
    border-bottom: 1px solid var(--c-border);
}

.pay-rows div:last-child {
    border-bottom: 0;
}

.pay-rows dt {
    color: var(--c-muted);
}

.pay-rows dd {
    color: #fff;
    font-weight: 600;
}

.file-upload {
    display: block;
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 0.75rem;
    background: var(--c-canvas);
    border: 1px dashed var(--c-border);
    color: var(--c-muted);
    font-family: var(--f-mono);
    font-size: 0.8125rem;
    cursor: pointer;
}

.file-upload input[type="file"]:hover {
    border-color: var(--c-brand);
}

.file-upload__preview {
    margin-top: 0.75rem;
    max-width: 16rem;
    border: 1px solid var(--c-border);
}

/* Review */
.review-table {
    font-family: var(--f-mono);
    font-size: 0.8125rem;
}

.review-table div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.625rem;
    border-bottom: 1px solid var(--c-border);
}

.review-table div:last-child {
    border-bottom: 0;
}

.review-table dt {
    color: var(--c-muted);
    flex-shrink: 0;
}

.review-table dd {
    color: #fff;
    text-align: right;
}

.review-table dd.is-red {
    color: var(--c-brand);
    font-weight: 700;
}

/* Error ringkas server-side */
.form-alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    border: 1px solid;
}

.form-alert--error {
    background: rgba(219, 39, 119, 0.1);
    border-color: rgba(219, 39, 119, 0.4);
    color: #FCA5A5;
}

.form-alert ul {
    margin-top: 0.375rem;
    margin-left: 1.125rem;
    list-style: disc;
}

/* --------------------------------------------------------------------------
   13. Halaman sukses booking
   -------------------------------------------------------------------------- */
.success-card {
    max-width: 40rem;
    margin-inline: auto;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 2.5rem 2rem;
    text-align: center;
}

.success-card__icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.12);
    color: var(--c-ok-bright);
    border-radius: 50%;
}

.success-card__code {
    display: inline-block;
    margin-block: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: var(--c-canvas);
    border: 1px dashed var(--c-brand);
    font-family: var(--f-mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--c-brand);
}

.success-card__note {
    color: var(--c-muted);
    font-weight: 300;
    font-size: 0.875rem;
    max-width: 28rem;
    margin: 0 auto 1.75rem;
}

/* --------------------------------------------------------------------------
   14. Portal klien
   -------------------------------------------------------------------------- */
.portal-login {
    max-width: 26rem;
    margin-inline: auto;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 2.5rem 2rem;
}

.portal-login__mark {
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem;
    background: var(--c-brand);
    color: #fff;
    font-family: var(--f-display);
    font-size: 1.5rem;
}

.portal-login__title {
    font-family: var(--f-display);
    font-size: 1.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.portal-login__sub {
    text-align: center;
    color: var(--c-muted);
    font-size: 0.8125rem;
    font-weight: 300;
    margin: 0.5rem 0 1.75rem;
}

.portal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.25rem;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.portal-topbar__hello {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.portal-topbar__hello em {
    font-family: var(--f-accent);
    font-style: italic;
    color: var(--c-brand);
    text-transform: none;
    letter-spacing: 0;
}

.link-plain {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    transition: color var(--t-fast);
}

.link-plain:hover {
    color: var(--c-brand);
}

/* Kotak link hasil HD (portal klien) */
.hd-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-brand);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.hd-box__icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    color: var(--c-brand);
}

.hd-box__text {
    flex: 1;
    min-width: 14rem;
}

.hd-box__title {
    font-family: var(--f-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hd-box__desc {
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--c-muted);
    margin-top: 0.25rem;
}

/* Kartu booking di dashboard */
.booking-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    margin-bottom: 1.5rem;
}

.booking-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--c-border);
}

.booking-card__code {
    font-family: var(--f-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.booking-card__body {
    padding: 1.5rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-grid__item {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.meta-grid__item strong {
    display: block;
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.125rem;
}

/* Status badge (frontend) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-mono);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.6rem;
    border: 1px solid;
    white-space: nowrap;
}

.status-badge i {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: currentColor;
}

.status-badge--emerald {
    color: var(--c-ok-bright);
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.12);
}

.status-badge--amber {
    color: #FBBF24;
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
}

.status-badge--red {
    color: var(--c-brand);
    border-color: rgba(219, 39, 119, 0.35);
    background: rgba(219, 39, 119, 0.12);
}

.status-badge--gray {
    color: var(--c-muted);
    border-color: var(--c-border);
    background: var(--c-card);
}

/* Timeline status */
.timeline {
    position: relative;
    margin-block: 0.5rem 1.5rem;
    padding-left: 1.375rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.3125rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: var(--c-border);
}

.timeline__item {
    position: relative;
    padding-block: 0.5rem;
    padding-left: 1rem;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -1.375rem;
    top: 0.875rem;
    width: 0.6875rem;
    height: 0.6875rem;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    background: var(--c-canvas);
}

.timeline__item.is-done::before {
    background: var(--c-brand);
    border-color: var(--c-brand);
}

.timeline__item.is-current::before {
    border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.25);
}

.timeline__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--c-muted);
}

.timeline__item.is-done .timeline__label,
.timeline__item.is-current .timeline__label {
    color: #fff;
}

.timeline__item.is-current .timeline__label {
    color: var(--c-brand);
}

.timeline__time {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    color: var(--c-muted);
}

/* Galeri hasil foto */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.photo-tile {
    position: relative;
    border: 1px solid var(--c-border);
    overflow: hidden;
    background: var(--c-card);
}

.photo-tile img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    cursor: zoom-in;
}

.photo-tile__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-top: 1px solid var(--c-border);
}

.photo-tile__name {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    color: var(--c-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-tile__dl {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-brand);
    border: 1px solid var(--c-border);
    transition: var(--t-fast);
}

.photo-tile__dl:hover {
    border-color: var(--c-brand);
    background: rgba(219, 39, 119, 0.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--c-border);
    color: var(--c-muted);
}

.empty-state__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.375rem;
}

.empty-state p {
    font-size: 0.8125rem;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   15. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox__img {
    max-height: 85vh;
    max-width: 90vw;
    object-fit: contain;
    border: 1px solid var(--c-border);
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(219, 39, 119, 0.9);
    transition: var(--t-fast);
}

.lightbox__close:hover {
    background: var(--c-brand);
}

/* --------------------------------------------------------------------------
   16. Toast
   -------------------------------------------------------------------------- */
.toast-stack {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(92vw, 26rem);
    pointer-events: none;
}

.toast {
    padding: 0.875rem 1.125rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-brand);
    font-size: 0.8125rem;
    color: #fff;
    animation: fns-toast-in 0.3s var(--ease);
}

.toast--ok {
    border-left-color: var(--c-ok);
}

.toast.is-out {
    opacity: 0;
    transform: translateY(0.5rem);
    transition: all 0.3s ease;
}

@keyframes fns-toast-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
}

/* --------------------------------------------------------------------------
   17. Animasi entrance (IntersectionObserver)
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal--left {
    transform: translateX(-1.5rem);
}

.reveal--right {
    transform: translateX(1.5rem);
}

@keyframes fns-rise {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
}

@keyframes fns-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

/* Hormati preferensi reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   18. Responsif — breakpoint konsisten 640 / 768 / 1024
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }

    /* Hero meta 2 → 4 kolom */
    .hero__meta-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .hero__meta-item {
        border-left: 1px solid var(--c-border);
        padding-left: 1rem;
    }

    .hero__meta-item:first-child {
        border-left: 0;
        padding-left: 0;
    }

    .field-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pay-panel {
        grid-template-columns: 1fr 1fr;
    }

    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .site-footer__sep {
        display: inline;
    }

    .btn.btn--header-cta {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .section {
        padding-block: 7rem;
    }

    /* Navigasi desktop muncul */
    .main-nav {
        display: flex;
        gap: 1.25rem;
        font-size: 0.75rem;
    }

    .portal-link {
        display: inline-flex;
        padding: 0.5rem 0.625rem; /* ikon saja di tablet */
    }

    .portal-link__text {
        display: none; /* teks penuh hanya di ≥1024 */
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    /* Grid konten */
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slot-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .slot-list {
        grid-template-columns: 1fr;
    }

    .wizard-card__body {
        padding: 2.25rem;
    }

    .section-head--split {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }

    .meta-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .field-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    /* Tagline brand & teks tombol portal hanya penuh di desktop */
    .brand__tag {
        display: block;
    }

    .portal-link {
        padding: 0.5rem 0.875rem;
    }

    .portal-link__text {
        display: inline;
    }

    .main-nav {
        gap: 2rem;
        font-size: 0.8125rem;
    }

    .package-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slot-board {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding-inline: 2rem;
    }
}

/* ==========================================================================
   19. Konten CKEditor (settings type: ckeditor — tanpa esc, styling di sini)
   ========================================================================== */

.ckeditor-content {
    color: var(--c-text);
    line-height: 1.7;
}

.ckeditor-content p {
    margin-bottom: 0.75em;
}

.ckeditor-content p:last-child {
    margin-bottom: 0;
}

.ckeditor-content h2,
.ckeditor-content h3,
.ckeditor-content h4 {
    margin: 1.25em 0 0.5em;
    font-family: 'Bebas Neue', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.04em;
    color: var(--c-text);
}

.ckeditor-content h2:first-child,
.ckeditor-content h3:first-child,
.ckeditor-content h4:first-child {
    margin-top: 0;
}

.ckeditor-content a {
    color: var(--c-brand);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ckeditor-content ul,
.ckeditor-content ol {
    margin: 0.75em 0;
    padding-left: 1.5em;
}

.ckeditor-content ul {
    list-style-type: disc;
}

.ckeditor-content ol {
    list-style-type: decimal;
}

.ckeditor-content ul ul {
    list-style-type: circle;
}

.ckeditor-content ol ol {
    list-style-type: lower-alpha;
}

.ckeditor-content li {
    margin: 0.3em 0;
}

.ckeditor-content blockquote {
    margin: 1em 0;
    padding: 0.25em 0 0.25em 1em;
    border-left: 3px solid var(--c-brand);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--c-muted);
}

.ckeditor-content strong {
    color: var(--c-text);
}

/* ==========================================================================
   20. Dark/Light Mode Toggle
   ========================================================================== */

/* Light mode color overrides */
[data-theme="light"] {
    --c-canvas: #FAFAF9;
    --c-surface: #F0F0ED;
    --c-card: #E8E8E4;
    --c-border: #D4D4D0;
    --c-text: #1A1A1A;
    --c-muted: #6B6B6B;
}

[data-theme="light"] body {
    -webkit-font-smoothing: auto;
}

[data-theme="light"] .site-header {
    background: rgba(250, 250, 249, 0.92);
}

[data-theme="light"] .brand__word {
    color: #1A1A1A;
}

[data-theme="light"] .main-nav__link {
    color: #4A4A4A;
}

[data-theme="light"] .main-nav__link:hover,
[data-theme="light"] .main-nav__link[aria-current="page"] {
    color: var(--c-brand);
}

[data-theme="light"] .hero__media::after {
    background: linear-gradient(to bottom, rgba(250, 250, 249, 0.3), rgba(250, 250, 249, 0.85));
}

[data-theme="light"] .hero__title {
    color: #1A1A1A;
}

[data-theme="light"] .hero__lead {
    color: #4A4A4A;
}

[data-theme="light"] .hero__meta {
    background: rgba(250, 250, 249, 0.75);
}

[data-theme="light"] .btn--ghost {
    background: rgba(240, 240, 237, 0.9);
    color: #1A1A1A;
}

[data-theme="light"] .package-card__name {
    color: #1A1A1A;
}

[data-theme="light"] .slot-group__date {
    color: #1A1A1A;
}

[data-theme="light"] .slot-card__time {
    color: #1A1A1A;
}

[data-theme="light"] .slot-card__loc {
    color: rgba(26, 26, 26, 0.55);
    border-color: var(--c-border);
}

[data-theme="light"] .portfolio-item__title {
    color: #fff;
}

[data-theme="light"] .mobile-menu {
    background: var(--c-surface);
}

[data-theme="light"] .mobile-menu__link {
    color: #4A4A4A;
}

[data-theme="light"] .field__input,
[data-theme="light"] .field__select,
[data-theme="light"] .field__textarea {
    background: #fff;
    color: #1A1A1A;
}

[data-theme="light"] .loader {
    background: rgba(250, 250, 249, 0.95);
}

[data-theme="light"] .lightbox {
    background: rgba(0, 0, 0, 0.85);
}

[data-theme="light"] ::selection {
    background: var(--c-brand);
    color: #fff;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--c-surface);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #BBBBB7;
}

[data-theme="light"] .portal-link {
    color: #4A4A4A;
    background: var(--c-card);
}

[data-theme="light"] .select-card__title {
    color: #1A1A1A;
}

[data-theme="light"] .slot-calendar__month,
[data-theme="light"] .slot-cal-day--open,
[data-theme="light"] .slot-picked__value {
    color: #1A1A1A;
}

[data-theme="light"] .slot-cal-day--today .slot-cal-day__num {
    color: #1A1A1A;
}

[data-theme="light"] .slot-time-btn {
    background: #fff;
    color: #1A1A1A;
}

[data-theme="light"] .pay-rows dd {
    color: #1A1A1A;
}

[data-theme="light"] .review-table dd {
    color: #1A1A1A;
}

[data-theme="light"] .empty-state__title {
    color: #1A1A1A;
}

[data-theme="light"] .site-footer__brand {
    color: #1A1A1A;
}

/* Theme toggle button */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--c-muted);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    transition: var(--t-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--c-brand);
    border-color: var(--c-brand);
}

/* Sun shown in dark mode, moon shown in light mode */
.theme-toggle__icon--moon {
    display: none;
}

[data-theme="light"] .theme-toggle__icon--sun {
    display: none;
}

[data-theme="light"] .theme-toggle__icon--moon {
    display: block;
}

/* ==========================================================================
   20. Page Header (shared by new pages)
   ========================================================================== */
.page-header {
    padding-block: 4rem 3rem;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
}

.page-header .kicker {
    margin-bottom: 0.25rem;
}

.page-header__title {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--c-text);
}

.page-header__desc {
    margin-top: 0.75rem;
    color: var(--c-muted);
    font-weight: 300;
    max-width: 40rem;
}

/* ==========================================================================
   21. Blog page
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: var(--c-muted);
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--t-mid);
}

.blog-card:hover {
    border-color: var(--c-brand);
}

.blog-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--c-muted);
}

.blog-card__cat {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-brand);
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(219, 39, 119, 0.3);
    background: rgba(219, 39, 119, 0.08);
}

.blog-card__date {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    color: var(--c-muted);
}

.blog-card__title {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--c-text);
    margin-bottom: 0.75rem;
    transition: color var(--t-fast);
}

.blog-card:hover .blog-card__title {
    color: var(--c-brand);
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--c-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card__link {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    border-bottom: 1px solid var(--c-brand);
    padding-bottom: 2px;
    width: fit-content;
    transition: opacity var(--t-fast);
}

.blog-card__link:hover {
    opacity: 0.7;
    color: var(--c-cyan);
}

/* ==========================================================================
   22. About page
   ========================================================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    --reveal-delay: 0.1s;
}

.about-intro__text h3 {
    font-family: var(--f-display);
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 1rem;
}

.about-intro__text p {
    color: var(--c-muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-intro__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: 8px;
}

.about-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-block: 3rem 4rem;
    text-align: center;
    --reveal-delay: 0.2s;
}

.stat-item {
    padding: 2rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 8px;
}

.stat-item__value {
    font-family: var(--f-display);
    font-size: 3rem;
    color: var(--c-brand);
    line-height: 1;
}

.stat-item__label {
    color: var(--c-text);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.vm-card {
    padding: 2rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
}

.vm-card__title {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-brand);
    margin-bottom: 0.75rem;
}

.vm-card__text {
    color: var(--c-muted);
    font-weight: 300;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    transition: var(--t-mid);
}

.team-card:hover {
    border-color: var(--c-brand);
}

.team-card__img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--c-surface);
}

.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 0.25rem;
}

.team-card__role {
    color: var(--c-brand);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA penutup halaman (about, layanan) */
.cta-final__title {
    margin-bottom: 1rem;
}

.cta-final__desc {
    color: var(--c-muted);
    margin-bottom: 2rem;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-family: var(--f-display);
    letter-spacing: 1px;
    border-radius: 4px;
}

/* ==========================================================================
   23. Layanan (Services) page
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    transition: var(--t-mid);
}

.service-card:hover {
    border-color: var(--c-brand);
}

.service-card > svg {
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-family: var(--f-display);
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 1rem;
    transition: color var(--t-fast);
}

.service-card:hover .service-card__title {
    color: var(--c-brand);
}

.service-card__desc {
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--c-text);
}

/* Workflow / Process steps */
.workflow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    --reveal-delay: 0.2s;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.workflow-step__num {
    width: 4rem;
    height: 4rem;
    background: var(--c-card);
    border: 2px solid var(--c-brand);
    color: var(--c-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.workflow-step__title {
    font-family: var(--f-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.workflow-step__desc {
    color: var(--c-muted);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .workflow {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }

    .workflow::before {
        content: '';
        position: absolute;
        top: 2rem;
        left: 2rem;
        right: 2rem;
        height: 2px;
        background: var(--c-border);
        z-index: 0;
    }
}

/* ==========================================================================
   24. Portofolio page — filter buttons (link server-side + pagination)
   ========================================================================== */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    --reveal-delay: 0.1s;
}

.filter-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text);
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

.filter-btn.active {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

/* Wrapper pagination di halaman blog & portofolio */
.blog-pagination,
.portfolio-pagination {
    margin-top: 3rem;
}

/* Pagination front — class .pg* dipakai partial core frontend_pagination */
.pg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pg__nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    color: var(--c-text);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: border-color var(--t-fast), color var(--t-fast);
}

a.pg__nav:hover {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

.pg__nav--off {
    color: var(--c-muted);
    opacity: 0.5;
    cursor: default;
}

.pg__pages {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.pg__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    color: var(--c-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--t-fast), color var(--t-fast);
}

a.pg__item:hover {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

.pg__item--now {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}

/* ==========================================================================
   25. Fake Sale Popup
   ========================================================================== */
.fake-sale {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 55;
    max-width: 22rem;
    transform: translateX(calc(100% + 2rem));
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    pointer-events: none;
}

.fake-sale.is-visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.fake-sale__inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-ok);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .fake-sale__inner {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.fake-sale__icon {
    flex-shrink: 0;
    color: var(--c-ok-bright);
    margin-top: 0.125rem;
}

.fake-sale__body {
    flex: 1;
    min-width: 0;
}

.fake-sale__text {
    font-size: 0.8125rem;
    color: var(--c-text);
    line-height: 1.4;
}

.fake-sale__text strong {
    color: var(--c-text);
}

.fake-sale__detail {
    font-size: 0.8125rem;
    color: var(--c-muted);
    line-height: 1.4;
}

.fake-sale__detail strong {
    color: var(--c-brand);
}

.fake-sale__time {
    font-family: var(--f-mono);
    font-size: 0.625rem;
    color: var(--c-muted);
    margin-top: 0.375rem;
}

.fake-sale__close {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    color: var(--c-muted);
    transition: color var(--t-fast);
}

.fake-sale__close:hover {
    color: var(--c-brand);
}

/* ==========================================================================
   26. Footer enhanced
   ========================================================================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
    border-bottom: 1px solid var(--c-border);
}

.footer-grid__desc {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--c-muted);
    font-weight: 300;
    line-height: 1.6;
    max-width: 20rem;
}

.footer-grid__heading {
    font-family: var(--f-display);
    font-size: 0.875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 0.75rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: var(--c-muted);
    transition: color var(--t-fast);
}

.footer-nav a:hover {
    color: var(--c-brand);
}

.footer-contact {
    font-size: 0.8125rem;
    color: var(--c-muted);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--c-text);
    text-decoration: none;
    border-bottom: 1px solid var(--c-brand);
    transition: color var(--t-fast);
}

.footer-contact a:hover {
    color: var(--c-brand);
}

.footer-bottom {
    padding-block: 1.5rem;
    font-size: 0.75rem;
    color: var(--c-muted);
    text-align: center;
}

/* ==========================================================================
   27. Responsive updates for new components
   ========================================================================== */
/* Grid blog/services pakai auto-fit, team & stats auto-fit — tanpa override.
   Workflow berubah ke flex row di blok Layanan (768px). */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .fake-sale {
        bottom: 2rem;
        right: 2rem;
    }
}

@media (min-width: 768px) {
    .page-header {
        padding-block: 5rem 3.5rem;
    }

    .about-intro {
        grid-template-columns: 1fr 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   28. Hasil migrasi inline CSS — class halaman & modifier
   ========================================================================== */

/* Container sempit per halaman */
.container--narrow {
    max-width: 50rem; /* 800px — artikel blog */
}

.container--form {
    max-width: 56rem; /* wizard booking */
}

.container--content {
    max-width: 60rem; /* detail booking portal */
}

/* Stagger animasi reveal per posisi kartu (menggantikan --reveal-delay inline).
   Pola modulo-3 supaya delay tidak tumbuh tanpa batas di list panjang. */
.package-grid > .reveal:nth-child(3n+2),
.portfolio-grid > .reveal:nth-child(3n+2),
.slot-board > .reveal:nth-child(3n+2),
.blog-grid > .reveal:nth-child(3n+2),
.photo-grid > .reveal:nth-child(3n+2) {
    --reveal-delay: 0.08s;
}

.package-grid > .reveal:nth-child(3n),
.portfolio-grid > .reveal:nth-child(3n),
.slot-board > .reveal:nth-child(3n),
.blog-grid > .reveal:nth-child(3n),
.photo-grid > .reveal:nth-child(3n) {
    --reveal-delay: 0.16s;
}

.booking-card:nth-of-type(3n+2) {
    --reveal-delay: 0.08s;
}

.booking-card:nth-of-type(3n) {
    --reveal-delay: 0.16s;
}

.team-grid > .reveal:nth-child(3n+2) {
    --reveal-delay: 0.1s;
}

.team-grid > .reveal:nth-child(3n) {
    --reveal-delay: 0.2s;
}

.services-grid > .reveal:nth-child(3n+1) {
    --reveal-delay: 0.1s;
}

.services-grid > .reveal:nth-child(3n+2) {
    --reveal-delay: 0.2s;
}

.services-grid > .reveal:nth-child(3n) {
    --reveal-delay: 0.3s;
}

/* Hero — entrance berurutan */
.hero__title {
    --reveal-delay: 0.08s;
}

.hero__lead {
    --reveal-delay: 0.16s;
}

.hero__cta {
    --reveal-delay: 0.24s;
}

/* Dot legend slot papan beranda */
.slot-legend__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
}

.slot-legend__dot--available {
    background: var(--c-ok);
}

.slot-legend__dot--held {
    background: var(--c-warn);
}

.slot-legend__dot--booked {
    background: var(--c-brand);
}

/* About — visi & misi */
.about-vm__title {
    margin-bottom: 2rem;
}

.vm-block {
    max-width: 50rem;
    margin-inline: auto;
    color: var(--c-muted);
    line-height: 1.8;
    font-size: 1.125rem;
}

.vm-block p + p {
    margin-top: 1rem;
}

/* Panel kosong polos (portofolio) */
.empty-panel {
    padding: 4rem;
    background: var(--c-surface);
    border-radius: 8px;
}

.empty-panel p {
    margin: 0;
    color: var(--c-muted);
}

/* Artikel blog (detail) */
.post-hero {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    margin-bottom: 2rem;
}

.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--c-muted);
}

.post-meta__cat {
    color: var(--c-brand);
    font-weight: 600;
}

.post-title {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.post-body {
    color: var(--c-muted);
    line-height: 1.8;
    font-size: 1.125rem;
}

.post-back {
    margin-top: 3rem;
    text-align: center;
}

.post-back a {
    color: var(--c-text);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--c-brand);
    padding-bottom: 2px;
}

/* Wizard booking */
.wizard-card__title {
    font-size: 1.375rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wizard-card__progress {
    padding: 1.25rem 1.5rem 0;
}

.kicker--sub {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.field--spaced {
    margin-top: 1.5rem;
}

.field__hint--block {
    display: block;
    margin-top: 0.125rem;
}

.field__hint--spaced {
    margin-bottom: 1rem;
}

.field__error--spaced {
    margin-bottom: 1rem;
}

.empty-state--compact {
    padding: 2.5rem 1rem;
}

.ckeditor-content--note {
    font-size: 0.8125rem;
    color: var(--c-muted);
    margin-top: 1rem;
}

.ckeditor-content--terms {
    font-size: 0.75rem;
    color: var(--c-muted);
    margin-block: 1.25rem 1rem;
}

/* Sukses booking */
.page-title--sm {
    font-size: 2rem;
}

.review-table--summary {
    text-align: left;
    margin-bottom: 1.75rem;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Portal */
.form-alert--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34D399;
}

.portal-login__hint {
    text-align: center;
    margin-top: 1.25rem;
}

.empty-state__cta {
    margin-top: 1.25rem;
}

.portal-back {
    display: inline-block;
    margin-bottom: 0.375rem;
}

.portal-topbar__hello--detail {
    font-size: 1.75rem;
}

.review-table--details {
    margin-bottom: 1.5rem;
}

.section-head--gapped {
    margin-top: 3rem;
}

.section-head__title--sm {
    font-size: 2rem;
}
