:root {
    --pusa-green: #006241;
    --pusa-deep: #003E29;
    --pusa-mint: #CFFBEA;
    --pusa-cream: #FFF7E6;
    --pusa-latte: #C9A36A;
    --pusa-pink: #FF8FB1;
    --pusa-peach: #FFD1A8;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
body { padding-bottom: calc(var(--safe-bottom) + 82px); }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:disabled { opacity: .72; cursor: wait; }

.noise-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer, header, section { position: relative; z-index: 1; }
header.is-scrolled { box-shadow: 0 18px 50px rgba(0, 62, 41, .10); }

.logo-shell {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(0,98,65,.12);
    box-shadow: 0 14px 34px rgba(0,62,41,.10);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .68rem .95rem;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.nav-pill:hover { background: var(--pusa-mint); color: var(--pusa-deep); transform: translateY(-1px); }

.hero-gradient-text {
    background: linear-gradient(120deg, var(--pusa-green), #0f9f6e 38%, var(--pusa-latte) 70%, var(--pusa-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 7s ease-in-out infinite;
}
@keyframes gradientShift { 0%,100%{background-position:0 50%;} 50%{background-position:100% 50%;} }

.shine-button { position: relative; overflow: hidden; }
.shine-button::after {
    content: '';
    position: absolute;
    inset: -30% auto -30% -45%;
    width: 40%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: shineMove 3.6s ease-in-out infinite;
}
@keyframes shineMove { 0%, 42% { left: -50%; } 64%, 100% { left: 120%; } }

.section-kicker, .modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .55rem .85rem;
    background: rgba(0, 98, 65, .08);
    color: var(--pusa-green);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(0, 98, 65, .08);
}
.section-kicker::before, .modal-kicker::before {
    content: '';
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--pusa-green);
    box-shadow: 0 0 0 .32rem rgba(0, 98, 65, .12);
}
.section-title {
    max-width: 64rem;
    color: var(--pusa-deep);
    font-size: clamp(2.15rem, 5vw, 4.2rem);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.055em;
}
.section-lead {
    max-width: 43rem;
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.85;
}

.stat-card {
    border: 1px solid rgba(0, 98, 65, .08);
    border-radius: 1.35rem;
    padding: .95rem;
    box-shadow: 0 14px 40px rgba(0, 98, 65, .08);
    backdrop-filter: blur(18px);
}
.stat-number {
    display: block;
    color: var(--pusa-deep);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.045em;
    font-size: clamp(1.16rem, 4vw, 1.75rem);
}
.stat-label { margin-top: .38rem; display: block; color: #64748b; font-size: .7rem; font-weight: 800; }

.hero-phone-shell {
    position: relative;
    border-radius: 3rem;
    padding: .65rem;
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(207,251,234,.45));
    box-shadow: 0 35px 90px rgba(0, 62, 41, .22);
    transform: rotate(1.2deg);
}
.hero-phone-shell::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0,98,65,.36), rgba(255,143,177,.30), rgba(255,209,168,.38));
}
.hero-phone-topbar {
    position: absolute;
    left: 50%;
    top: 1rem;
    z-index: 5;
    display: flex;
    gap: .35rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    padding: .38rem .55rem;
    backdrop-filter: blur(12px);
}
.hero-phone-topbar span { width: .4rem; height: .4rem; border-radius: 50%; background: rgba(0,62,41,.5); }
.cute-badge {
    position: absolute;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.6rem;
    background: var(--pusa-pink);
    color: white;
    font-weight: 950;
    line-height: .92;
    text-align: center;
    box-shadow: 0 16px 42px rgba(255, 143, 177, .34);
    animation: floatY 4s ease-in-out infinite;
}
.cute-badge-top { right: 1.4rem; top: -.5rem; transform: rotate(8deg); }
.cute-badge-bottom { left: -.6rem; bottom: 4rem; background: var(--pusa-latte); animation-delay: 1.2s; }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.quick-card {
    min-height: 8.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .7rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(0,98,65,.10);
    background: rgba(255,255,255,.84);
    padding: 1rem;
    text-align: left;
    box-shadow: 0 18px 50px rgba(0,98,65,.08);
    transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.quick-card:hover { transform: translateY(-6px) rotate(-.35deg); background: white; box-shadow: 0 24px 70px rgba(0,98,65,.14); }
.quick-card span { font-size: 1.9rem; }
.quick-card strong { color: var(--pusa-deep); font-size: 1.12rem; font-weight: 950; letter-spacing: -.03em; }
.quick-card small { color: #64748b; font-size: .78rem; font-weight: 800; }

.carousel-btn {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: white;
    color: var(--pusa-green);
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(0,98,65,.12);
    transition: transform .2s ease, background .2s ease;
}
.carousel-btn:hover { transform: translateY(-3px); background: var(--pusa-mint); }
.product-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 21rem);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    padding: .3rem .1rem 1.1rem;
    -webkit-overflow-scrolling: touch;
}
.product-carousel::-webkit-scrollbar { height: .65rem; }
.product-carousel::-webkit-scrollbar-thumb { background: rgba(0,98,65,.28); border-radius: 999px; }
.product-card {
    scroll-snap-align: start;
    border-radius: 2rem;
    border: 1px solid rgba(0,98,65,.10);
    background: rgba(255,255,255,.86);
    padding: 1.1rem;
    box-shadow: 0 18px 55px rgba(0,98,65,.10);
    transition: transform .24s ease, box-shadow .24s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 26px 74px rgba(0,98,65,.16); }
.product-image-wrap {
    height: 14rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 1.6rem;
    background: radial-gradient(circle at top, #fff 0%, var(--pusa-mint) 46%, var(--pusa-cream) 100%);
}
.product-tag { color: var(--pusa-green); font-size: .75rem; font-weight: 950; text-transform: uppercase; letter-spacing: .14em; }

.formula-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed rgba(0,98,65,.18);
    padding: .88rem 0;
    color: #475569;
    font-size: .9rem;
    font-weight: 750;
}
.formula-row:last-child { border-bottom: 0; }
.formula-row strong { color: var(--pusa-deep); font-weight: 950; text-align: right; }
.calculator-card {
    overflow: hidden;
    border-radius: 2.2rem;
    border: 1px solid rgba(0,98,65,.10);
    background: rgba(255,255,255,.86);
    padding: 1.15rem;
    box-shadow: 0 20px 72px rgba(0,98,65,.13);
    backdrop-filter: blur(18px);
}
.cup-meter {
    display: grid;
    place-items: center;
    width: 8rem;
    min-height: 8rem;
    border-radius: 2rem;
    background: linear-gradient(145deg, var(--pusa-green), #0e8d61);
    color: white;
    box-shadow: 0 18px 48px rgba(0,98,65,.28);
}
.cup-meter small { margin-top: -1.5rem; font-size: .78rem; font-weight: 850; color: rgba(255,255,255,.75); }
.range-pusa { width: 100%; height: .8rem; border-radius: 999px; outline: none; appearance: none; background: #e2e8f0; }
.range-pusa::-webkit-slider-thumb { appearance: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--pusa-green); border: .35rem solid white; box-shadow: 0 8px 25px rgba(0,98,65,.35); }
.range-pusa::-moz-range-thumb { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--pusa-green); border: .35rem solid white; box-shadow: 0 8px 25px rgba(0,98,65,.35); }
.result-box {
    border-radius: 1.35rem;
    background: #f8fafc;
    padding: 1rem;
    border: 1px solid rgba(15,23,42,.06);
}
.result-box span { display: block; color: #64748b; font-size: .78rem; font-weight: 850; }
.result-box strong { display: block; margin-top: .38rem; color: var(--pusa-deep); font-size: 1.15rem; font-weight: 950; letter-spacing: -.02em; }
.result-box-main { background: linear-gradient(135deg, var(--pusa-mint), white); border-color: rgba(0,98,65,.14); }
.result-box-main strong { color: var(--pusa-green); font-size: 1.45rem; }

.mobile-dock {
    position: fixed;
    left: .75rem;
    right: .75rem;
    bottom: calc(.75rem + var(--safe-bottom));
    z-index: 48;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: .35rem;
    border: 1px solid rgba(0,98,65,.12);
    border-radius: 1.45rem;
    background: rgba(255,255,255,.94);
    padding: .45rem;
    box-shadow: 0 -10px 38px rgba(0,62,41,.14);
    backdrop-filter: blur(18px);
}
.mobile-dock button, .mobile-dock a {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: .18rem;
    border-radius: 1rem;
    padding: .52rem .2rem;
    color: var(--pusa-deep);
    font-weight: 950;
    text-decoration: none;
}
.mobile-dock span { font-size: 1.1rem; line-height: 1; }
.mobile-dock small { font-size: .62rem; font-weight: 950; line-height: 1; color: var(--pusa-deep); }
.mobile-dock .dock-primary { background: var(--pusa-green); color: white; box-shadow: 0 12px 30px rgba(0,98,65,.28); }
.mobile-dock .dock-primary small { color: white; }
.floating-actions {
    position: fixed;
    right: 1rem;
    bottom: calc(6.3rem + var(--safe-bottom));
    z-index: 45;
    display: grid;
    gap: .55rem;
}
.floating-actions a {
    display: grid;
    place-items: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    background: var(--pusa-green);
    color: white;
    font-size: 1.35rem;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0,98,65,.25);
    transition: transform .2s ease, background .2s ease;
}
.floating-actions a:first-child { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); font-family: ui-serif, serif; }
.floating-actions a:hover { transform: translateY(-4px); }

.modal-open { overflow: hidden; }
.modal-shell {
    width: min(100% - 1rem, 72rem);
    max-height: min(88vh, 58rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 2.2rem;
    background: transparent;
    overflow: visible;
}
.modal-shell::backdrop { background: rgba(0, 25, 17, .55); backdrop-filter: blur(10px); }
.modal-card {
    position: relative;
    max-height: min(88vh, 58rem);
    overflow: auto;
    border-radius: 2.2rem;
    background: rgba(255,255,255,.96);
    padding: 1.2rem;
    box-shadow: 0 30px 100px rgba(0,0,0,.24);
}
@media (min-width: 768px) { .modal-card { padding: 2rem; } }
.modal-card-wide { width: 100%; }
.modal-close {
    position: sticky;
    top: .2rem;
    float: right;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
    background: var(--pusa-deep);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0,62,41,.22);
}
.modal-title {
    margin-top: 1rem;
    max-width: 48rem;
    color: var(--pusa-deep);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.05em;
}
.modal-lead { margin-top: 1rem; max-width: 50rem; color: #475569; font-size: 1rem; line-height: 1.8; }
.info-card, .analysis-note, .terms-card {
    border: 1px solid rgba(0,98,65,.10);
    border-radius: 1.55rem;
    background: white;
    padding: 1rem;
    box-shadow: 0 14px 38px rgba(0,98,65,.08);
}
.info-card strong { display: block; color: var(--pusa-deep); font-size: 1.05rem; font-weight: 950; }
.info-card p, .analysis-note p { margin-top: .5rem; color: #64748b; font-size: .9rem; line-height: 1.65; }
.analysis-note { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.analysis-note span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .75rem; background: var(--pusa-green); color: white; font-weight: 950; }
.kit-item { border-radius: 1.1rem; background: white; padding: .85rem; color: var(--pusa-deep); font-size: .88rem; font-weight: 850; box-shadow: 0 10px 25px rgba(0,98,65,.07); }
.terms-card h4 { color: var(--pusa-deep); font-size: 1.1rem; font-weight: 950; letter-spacing: -.02em; }
.terms-card p { margin-top: .45rem; color: var(--pusa-green); font-size: .9rem; font-weight: 800; line-height: 1.55; }
.terms-card ul { margin-top: .8rem; display: grid; gap: .55rem; padding-left: 1.1rem; color: #475569; font-size: .88rem; line-height: 1.6; }
.terms-card li { list-style: disc; }

.form-group { display: grid; gap: .45rem; color: var(--pusa-deep); font-size: .82rem; font-weight: 950; }
.form-group small { color: #64748b; font-size: .72rem; font-weight: 750; line-height: 1.45; }
.form-control {
    width: 100%;
    border: 1px solid rgba(0,98,65,.14);
    border-radius: 1.05rem;
    background: white;
    padding: .95rem 1rem;
    color: #0f172a;
    font-size: .94rem;
    font-weight: 760;
    outline: none;
    box-shadow: 0 10px 24px rgba(0,98,65,.05);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.form-control:focus { border-color: var(--pusa-green); box-shadow: 0 0 0 .28rem rgba(0,98,65,.11); transform: translateY(-1px); }
.form-control:disabled { background: #f8fafc; color: #94a3b8; cursor: not-allowed; }
.location-result {
    border-radius: 1.6rem;
    border: 1px solid rgba(0,98,65,.10);
    background: white;
    padding: 1.2rem;
    box-shadow: 0 14px 40px rgba(0,98,65,.08);
}
.location-result small, .status-open small, .status-limited small, .status-full small { display:block; color: #64748b; font-size: .74rem; font-weight: 950; text-transform: uppercase; letter-spacing: .16em; }
.location-result strong, .status-open strong, .status-limited strong, .status-full strong { display:block; margin-top: .35rem; font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 950; letter-spacing: -.04em; }
.location-result p, .status-open p, .status-limited p, .status-full p { margin-top: .45rem; color: #475569; line-height: 1.65; }
.status-open, .status-limited, .status-full { border-radius: 1.4rem; padding: 1rem; }
.status-open { background: linear-gradient(135deg, #ecfdf5, #fff); color: #047857; }
.status-limited { background: linear-gradient(135deg, #fffbeb, #fff); color: #b45309; }
.status-full { background: linear-gradient(135deg, #fff1f2, #fff); color: #be123c; }
.status-open p, .status-limited p, .status-full p { color: inherit; opacity: .85; }
#regionApiStatus[data-tone="success"] { color: #047857; }
#regionApiStatus[data-tone="warning"] { color: #b45309; }
#regionApiStatus[data-tone="error"] { color: #be123c; }

.reveal-item { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 767px) {
    body { padding-bottom: calc(var(--safe-bottom) + 6rem); }
    .mobile-dock { display: grid; }
    .floating-actions { bottom: calc(5.9rem + var(--safe-bottom)); right: .75rem; }
    .hero-phone-shell { border-radius: 2.3rem; transform: none; }
    .cute-badge { width: 4.3rem; height: 4.3rem; border-radius: 1.35rem; font-size: .86rem; }
    .quick-card { min-height: 7.2rem; }
    .product-carousel { grid-auto-columns: minmax(14.5rem, 82vw); }
    .product-image-wrap { height: 12rem; }
    .cup-meter { width: 100%; min-height: 6.5rem; }
    .modal-shell { width: calc(100% - .7rem); max-height: 86vh; border-radius: 1.6rem; }
    .modal-card { max-height: 86vh; border-radius: 1.6rem; padding: 1rem; }
    .modal-close { width: 2.45rem; height: 2.45rem; border-radius: .9rem; }
    .form-control { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ===============================
   Pusa Coffee Revision 2026
   Desktop + Mobile polishing layer
   =============================== */
body { padding-bottom: 0; }
.site-header { min-height: 4.25rem; }
.site-header-inner { min-height: 4.25rem; }
.logo-shell {
    width: 3.55rem;
    height: 3.55rem;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}
.logo-shell img { filter: drop-shadow(0 10px 18px rgba(0, 62, 41, .14)); }
.brand-name { color: var(--pusa-deep); letter-spacing: -.035em; }
.site-header nav { margin-left: auto; }

.hero-section { overflow: visible; }
.click-hint {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 98, 65, .12);
    background: rgba(255,255,255,.88);
    padding: .55rem .8rem;
    color: var(--pusa-green);
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0,98,65,.08);
}
.quick-grid { align-items: stretch; }
.quick-card {
    position: relative;
    min-height: 8.7rem;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.75rem;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(242,255,248,.88));
    color: inherit;
    text-decoration: none;
}
.quick-card::after {
    content: 'lihat';
    position: absolute;
    right: .8rem;
    top: .8rem;
    border-radius: 999px;
    background: rgba(0,98,65,.08);
    color: var(--pusa-green);
    padding: .2rem .48rem;
    font-size: .58rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.quick-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .95rem;
    background: var(--pusa-green);
    color: #fff;
    font-size: .9rem !important;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(0,98,65,.18);
}
.quick-card strong { margin-top: auto; }
.quick-card small { color: #64748b; }

.product-carousel {
    cursor: grab;
    user-select: none;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
}
.product-carousel:active { cursor: grabbing; }
.product-carousel.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.product-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-image-wrap img { transition: transform .45s ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.045) rotate(-1.5deg); }

.modal-shell { width: min(100% - 1.25rem, 76rem); }
.modal-card { border: 1px solid rgba(255,255,255,.58); }
.modal-card-form { width: min(100%, 92rem); }
dialog:has(.modal-card-form) { width: min(100% - 1.25rem, 94rem); }
.form-intro-panel { position: sticky; top: 1rem; align-self: start; }
.form-main-grid {
    border-radius: 2rem;
    border: 1px solid rgba(0,98,65,.10);
    background: rgba(255,255,255,.72);
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 18px 50px rgba(0,98,65,.07);
}
.terms-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.terms-card { padding: 1.15rem; }
.terms-card ul { gap: .7rem; }
.terms-card li { padding-left: .1rem; }

.form-control option[data-status="full"] { color: #be123c; text-decoration: line-through; }
.form-control option[data-status="limited"] { color: #b45309; }
.form-control option[data-status="open"] { color: #047857; }
.location-select-hint {
    margin-top: .55rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.45;
}
.status-open, .status-limited, .status-full { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.status-full strong { text-decoration: line-through; text-decoration-thickness: .12em; }

.mobile-dock span {
    display: grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: .55rem;
    background: rgba(0,98,65,.10);
    color: var(--pusa-green);
    font-size: .7rem !important;
    font-weight: 950;
}
.mobile-dock .dock-primary span { background: rgba(255,255,255,.18); color: #fff; }
.floating-actions a,
.floating-actions a:first-child {
    background: var(--pusa-green) !important;
    color: white !important;
    font-family: inherit !important;
    font-size: .88rem;
    letter-spacing: -.02em;
}

@media (min-width: 768px) {
    .calculator-card { padding: 1.6rem; }
    .product-carousel { grid-auto-columns: minmax(18.5rem, 22rem); gap: 1.15rem; }
    .modal-card-form { padding: 2.2rem; }
}

@media (max-width: 1023px) {
    .site-header-inner { justify-content: center; }
    .site-brand { margin-inline: auto; }
}

@media (max-width: 767px) {
    body { padding-bottom: calc(var(--safe-bottom) + 6rem); }
    .site-header { min-height: 3.85rem; }
    .site-header-inner { min-height: 3.85rem; padding-top: .35rem !important; padding-bottom: .35rem !important; }
    .site-brand { justify-content: center; gap: .55rem; }
    .logo-shell { width: 3rem; height: 3rem; }
    .brand-name { font-size: 1.05rem !important; }
    main#home { padding-top: 3.9rem !important; }
    .hero-section { padding-top: .55rem !important; padding-bottom: 1.3rem !important; }
    .hero-section .mb-5 { margin-bottom: .85rem !important; }
    .hero-section h1 { font-size: clamp(2.25rem, 12vw, 3.55rem) !important; line-height: .93 !important; }
    .hero-section p { margin-top: 1rem !important; line-height: 1.65 !important; }
    .hero-section .mt-7 { margin-top: 1.05rem !important; }
    .stat-card { padding: .7rem; border-radius: 1.05rem; }
    .stat-label { font-size: .62rem; }
    .menu-section { padding-top: .3rem; }
    .menu-section .section-kicker { font-size: .62rem; padding: .45rem .7rem; }
    .click-hint { display: none; }
    .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .55rem !important; }
    .quick-card {
        min-height: 6.1rem !important;
        border-radius: 1.2rem !important;
        padding: .72rem !important;
        gap: .35rem !important;
        justify-content: start !important;
        text-align: left;
        box-shadow: 0 12px 32px rgba(0,98,65,.08);
    }
    .quick-card::after { display: none; }
    .quick-icon { width: 2rem; height: 2rem; border-radius: .78rem; font-size: .75rem !important; }
    .quick-card strong { margin-top: .15rem; font-size: .88rem !important; line-height: 1.05; }
    .quick-card small { font-size: .6rem !important; line-height: 1.1; }
    #produk { padding-top: 2.4rem !important; padding-bottom: 2.5rem !important; }
    .section-title { font-size: clamp(2rem, 9vw, 2.7rem); }
    .section-lead { font-size: .92rem; line-height: 1.65; }
    .product-carousel { grid-auto-columns: minmax(14.8rem, 78vw); gap: .85rem; padding-bottom: .85rem; }
    .product-card { border-radius: 1.6rem; padding: .9rem; }
    .product-image-wrap { height: 11.2rem; border-radius: 1.25rem; }
    .calculator-card { border-radius: 1.55rem; padding: .95rem; }
    .result-box { border-radius: 1.05rem; padding: .8rem; }
    .result-box strong { font-size: 1rem; }
    .result-box-main strong { font-size: 1.22rem; }
    .modal-shell { width: calc(100% - .55rem) !important; max-height: 88vh; border-radius: 1.45rem; }
    .modal-card { max-height: 88vh; border-radius: 1.45rem; padding: .9rem !important; }
    .modal-title { margin-top: .55rem; font-size: clamp(1.65rem, 8vw, 2.35rem); line-height: 1.02; }
    .modal-lead { font-size: .9rem; line-height: 1.65; }
    .form-intro-panel { position: relative; top: auto; padding: 1rem !important; border-radius: 1.35rem !important; }
    .form-main-grid { padding: .75rem; border-radius: 1.35rem; }
    .form-group { font-size: .78rem; }
    .form-control { border-radius: .95rem; padding: .9rem .88rem; }
    .terms-card { border-radius: 1.2rem; padding: .95rem; }
    .mobile-dock { display: grid; }
}

/* ===============================
   Final finishing request layer
   Logo besar, icon satu warna, searchable select, dan modal form bersih
   =============================== */
.site-header,
.site-header-inner { min-height: 5.55rem; }
main#home { padding-top: 5.55rem !important; }
.header-logo-shell,
.logo-shell.header-logo-shell {
    width: clamp(5rem, 8vw, 6.4rem) !important;
    height: clamp(5rem, 8vw, 6.4rem) !important;
}
.site-brand { flex: 0 0 auto; }
.brand-name { display: none !important; }
.site-header nav { align-self: center; }
.logo-shell img { filter: drop-shadow(0 12px 20px rgba(0, 62, 41, .16)); }

.quick-icon,
.mobile-dock span,
.floating-actions a {
    color: #ffffff;
}
.quick-icon svg,
.mobile-dock span svg,
.floating-actions a svg {
    width: 1.18rem;
    height: 1.18rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.05;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.quick-icon svg { width: 1.22rem; height: 1.22rem; }
.quick-card span { font-size: inherit !important; }
.mobile-dock span svg { width: .98rem; height: .98rem; }
.floating-actions a svg { width: 1.15rem; height: 1.15rem; }

.select-search {
    width: 100%;
    border: 1px solid rgba(0,98,65,.12);
    border-radius: .95rem;
    background: #f8fffb;
    padding: .78rem .92rem;
    color: #0f172a;
    font-size: .88rem;
    font-weight: 780;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 8px 22px rgba(0,98,65,.045);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.select-search::placeholder { color: #94a3b8; font-weight: 750; }
.select-search:focus { border-color: rgba(0,98,65,.48); box-shadow: 0 0 0 .24rem rgba(0,98,65,.10); transform: translateY(-1px); }
.select-search:disabled { opacity: .55; cursor: not-allowed; background: #f8fafc; }
.region-status-pill {
    width: max-content;
    border-radius: 999px;
    background: rgba(0,98,65,.08);
    padding: .46rem .78rem;
    color: var(--pusa-green);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.region-status-pill[data-tone="success"] { color: #047857; background: #ecfdf5; }
.region-status-pill[data-tone="warning"] { color: #b45309; background: #fffbeb; }
.region-status-pill[data-tone="error"] { color: #b45309; background: #fffbeb; }

.form-modal-clean { padding: clamp(1rem, 2.2vw, 2.35rem) !important; }
.form-modal-heading {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 56rem;
    margin-inline: auto;
    margin-bottom: 1.25rem;
}
.form-modal-heading .modal-lead { margin-inline: auto; }
.form-main-clean,
.form-main-grid.form-main-clean {
    display: grid;
    gap: 1.15rem;
    width: min(100%, 78rem);
    margin-inline: auto;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.form-section-clean {
    border-top: 1px solid rgba(0,98,65,.12);
    padding-top: 1.1rem;
}
.form-section-clean:first-child { border-top: 0; padding-top: 0; }
.form-section-clean h4 {
    margin-bottom: .85rem;
    color: var(--pusa-deep);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.form-location-note {
    margin-top: 1rem;
    border: 1px solid rgba(0,98,65,.10);
    border-radius: 1.25rem;
    background: rgba(255,255,255,.9);
    padding: 1rem;
    color: #475569;
    font-size: .9rem;
    line-height: 1.65;
    box-shadow: 0 10px 28px rgba(0,98,65,.06);
}
.form-location-note-warning { border-color: rgba(245,158,11,.25); background: #fffbeb; color: #92400e; }
.form-modal-clean .status-open,
.form-modal-clean .status-limited,
.form-modal-clean .status-full {
    box-shadow: none;
    border: 1px solid rgba(0,98,65,.08);
}

@media (min-width: 1024px) {
    .site-header-inner { justify-content: space-between; }
    .site-brand { min-width: 8rem; }
}

@media (max-width: 1023px) {
    .site-header-inner { justify-content: center !important; }
    .site-brand { margin-inline: auto; }
}

@media (max-width: 767px) {
    .site-header,
    .site-header-inner { min-height: 4.9rem !important; }
    main#home { padding-top: 4.85rem !important; }
    .header-logo-shell,
    .logo-shell.header-logo-shell { width: 4.45rem !important; height: 4.45rem !important; }
    .hero-section { padding-top: .28rem !important; }
    .quick-icon svg { width: 1.02rem; height: 1.02rem; }
    .modal-card-form.form-modal-clean { padding: .95rem !important; }
    .form-modal-heading { text-align: left; justify-items: start; margin-bottom: .9rem; }
    .form-section-clean { padding-top: .9rem; }
    .form-section-clean h4 { font-size: .69rem; margin-bottom: .65rem; }
    .select-search { border-radius: .86rem; padding: .76rem .82rem; font-size: 16px; }
    .region-status-pill { font-size: .58rem; padding: .38rem .62rem; }
}

/* Logo file Pusa berbentuk horizontal; kotak persegi membuat logo terlihat terlalu kecil. */
.header-logo-shell,
.logo-shell.header-logo-shell {
    width: clamp(12.5rem, 23vw, 17rem) !important;
    height: clamp(4.25rem, 6vw, 5.25rem) !important;
}
.header-logo-shell img,
.logo-shell.header-logo-shell img {
    object-fit: contain !important;
    object-position: center !important;
}
.site-brand { min-width: clamp(12.5rem, 23vw, 17rem) !important; }
@media (max-width: 767px) {
    .site-header,
    .site-header-inner { min-height: 5.05rem !important; }
    main#home { padding-top: 5rem !important; }
    .header-logo-shell,
    .logo-shell.header-logo-shell {
        width: min(78vw, 14.6rem) !important;
        height: 4.55rem !important;
    }
    .site-brand { min-width: min(78vw, 14.6rem) !important; }
}

/* ===============================
   Final finishing request: logo sedang, gap header rapat, select bersih, dan modal status wilayah
   =============================== */
.site-header,
.site-header-inner {
    min-height: 4.35rem !important;
}
.site-header-inner {
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
}
main#home {
    padding-top: 4.35rem !important;
}
.hero-section {
    padding-top: .55rem !important;
}
.header-logo-shell,
.logo-shell.header-logo-shell {
    width: clamp(8.2rem, 15vw, 11rem) !important;
    height: clamp(3rem, 4.8vw, 3.85rem) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.header-logo-shell img,
.logo-shell.header-logo-shell img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
.site-brand {
    min-width: clamp(8.2rem, 15vw, 11rem) !important;
}
.form-control option {
    color: #0f172a;
    text-decoration: none;
}
.form-control option[data-status="full"],
.form-control option[data-status="limited"],
.form-control option[data-status="open"] {
    color: #0f172a !important;
    text-decoration: none !important;
}
.status-info-overlay:not([open]) { display: none !important; }
dialog.status-info-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    place-items: center;
    padding: 1rem;
}
dialog.status-info-overlay[open] { display: grid; }
dialog.status-info-overlay::backdrop {
    background: rgba(0, 25, 17, .58);
    backdrop-filter: blur(12px);
}
.status-info-card {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 2rem;
    background: rgba(255,255,255,.98);
    padding: clamp(1.15rem, 4vw, 1.8rem);
    box-shadow: 0 32px 100px rgba(0, 25, 17, .30);
    animation: statusPop .24s ease-out both;
}
@keyframes statusPop {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.status-info-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .95rem;
    background: var(--pusa-deep);
    color: white;
    font-size: 1.35rem;
    font-weight: 950;
}
.status-info-badge {
    width: max-content;
    max-width: calc(100% - 3rem);
    border-radius: 999px;
    background: rgba(0,98,65,.09);
    color: var(--pusa-green);
    padding: .48rem .78rem;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.status-info-card h3 {
    margin-top: 1rem;
    color: var(--pusa-deep);
    font-size: clamp(1.8rem, 7vw, 2.75rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.05em;
}
.status-info-card p {
    margin-top: .9rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.78;
    font-weight: 650;
}
.status-info-meta {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}
.status-info-meta span {
    border-radius: 1.15rem;
    border: 1px solid rgba(0,98,65,.10);
    background: #f8fffb;
    padding: .85rem .65rem;
    text-align: center;
}
.status-info-meta strong {
    display: block;
    color: var(--pusa-deep);
    font-size: 1.28rem;
    font-weight: 950;
    line-height: 1;
}
.status-info-meta small {
    display: block;
    margin-top: .35rem;
    color: #64748b;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.status-info-action {
    margin-top: 1rem;
    width: 100%;
    border-radius: 1.15rem;
    background: var(--pusa-green);
    color: white;
    padding: .95rem 1rem;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(0,98,65,.22);
}
.status-info-overlay[data-tone="full"] .status-info-badge,
.status-info-overlay[data-tone="full"] .status-info-action { background: #be123c; color: white; }
.status-info-overlay[data-tone="full"] .status-info-card { box-shadow: 0 32px 100px rgba(190,18,60,.20); }
.status-info-overlay[data-tone="limited"] .status-info-badge,
.status-info-overlay[data-tone="limited"] .status-info-action { background: #b45309; color: white; }
.status-info-overlay[data-tone="open"] .status-info-badge,
.status-info-overlay[data-tone="open"] .status-info-action { background: var(--pusa-green); color: white; }

@media (max-width: 1023px) {
    .site-header-inner { justify-content: center !important; }
}
@media (max-width: 767px) {
    .site-header,
    .site-header-inner {
        min-height: 4rem !important;
    }
    .site-header-inner {
        padding-top: .32rem !important;
        padding-bottom: .32rem !important;
    }
    main#home {
        padding-top: 4rem !important;
    }
    .hero-section {
        padding-top: .2rem !important;
    }
    .header-logo-shell,
    .logo-shell.header-logo-shell {
        width: min(62vw, 10.8rem) !important;
        height: 3.45rem !important;
    }
    .site-brand {
        min-width: min(62vw, 10.8rem) !important;
    }
    .status-info-card {
        border-radius: 1.55rem;
        padding: 1rem;
    }
    .status-info-meta { gap: .45rem; }
    .status-info-meta span { border-radius: .95rem; padding: .75rem .45rem; }
    .status-info-meta strong { font-size: 1.05rem; }
}
