/* ==========================================================
   BERANDA PATRIOT MAHALONA
   Semua selector konten dibatasi .pm-home.
   Tidak ada selector navbar pada file ini.
========================================================== */

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

.pm-home {
    --pm-home-bg: #fbfaf6;
    --pm-home-surface: #ffffff;
    --pm-home-ink: #17382f;
    --pm-home-muted: #5d6f68;
    --pm-home-primary: #0b7657;
    --pm-home-primary-hover: #075f46;
    --pm-home-border: #dce5df;
    --pm-home-border-strong: #c4d1ca;
    --pm-home-focus: #15856a;
    --pm-home-map-bg: #eef2ef;

    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding: 48px 24px 0;
    background: var(--pm-home-bg);
    color: var(--pm-home-ink);
    font-family: Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.pm-home [hidden] {
    display: none !important;
}

.pm-home :where(h1, h2, p) {
    margin: 0;
}

.pm-home :where(a, button) {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.pm-home a {
    color: inherit;
    text-decoration: none;
}

.pm-home button {
    cursor: pointer;
}

.pm-home :where(a, button):focus-visible {
    outline: 3px solid var(--pm-home-focus);
    outline-offset: 3px;
}

.pm-home > section,
.pm-home > footer {
    width: min(1200px, 100%);
    margin-inline: auto;
}

.pm-home > section + section,
.pm-home > section + footer {
    margin-top: 56px;
}

.pm-home h1 {
    max-width: 560px;
    color: var(--pm-home-ink);
    font-size: clamp(42px, 5.2vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.pm-home h2 {
    color: var(--pm-home-ink);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.pm-home .pm-home-section-heading {
    margin-bottom: 16px;
}

/* ==========================================================
   HERO
========================================================== */

.pm-home .pm-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    min-width: 0;
}

.pm-home .pm-home-hero__copy {
    min-width: 0;
    padding-block: 30px;
}

.pm-home .pm-home-hero__lead {
    max-width: 510px;
    margin-top: 22px;
    color: var(--pm-home-muted);
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.7;
}

.pm-home .pm-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.pm-home .pm-home-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.pm-home .pm-home-button--primary {
    border-color: var(--pm-home-primary);
    background: var(--pm-home-primary);
    color: #ffffff;
}

.pm-home .pm-home-button--primary:hover {
    border-color: var(--pm-home-primary-hover);
    background: var(--pm-home-primary-hover);
}

.pm-home .pm-home-secondary-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    padding-inline: 2px;
    color: var(--pm-home-ink);
    font-size: 15px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: #9fb1a8;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.pm-home .pm-home-secondary-link:hover {
    color: var(--pm-home-primary);
    text-decoration-color: currentColor;
}

.pm-home .pm-home-secondary-link span {
    transition: transform 160ms ease;
}

.pm-home .pm-home-secondary-link:hover span {
    transform: translateX(3px);
}

/* ==========================================================
   STATIC MAP PREVIEW
========================================================== */

.pm-home .pm-home-map {
    position: relative;
    min-width: 0;
    height: clamp(360px, 38vw, 470px);
    overflow: hidden;
    border: 1px solid var(--pm-home-border);
    border-radius: 18px;
    background: var(--pm-home-map-bg);
}

.pm-home .pm-home-map__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--pm-home-map-bg);
}

.pm-home .pm-home-map__state {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(251, 250, 246, .92);
    color: var(--pm-home-muted);
    text-align: center;
    font-size: 15px;
}

.pm-home .pm-home-map__state[data-state="error"],
.pm-home .pm-home-map__state[data-state="empty"] {
    background: rgba(251, 250, 246, .96);
}

.pm-home .pm-home-map__state strong {
    max-width: 330px;
    color: var(--pm-home-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}

.pm-home .pm-home-map__spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--pm-home-border-strong);
    border-top-color: var(--pm-home-primary);
    border-radius: 50%;
    animation: pm-home-spin 800ms linear infinite;
}

.pm-home .pm-home-map__state button {
    min-width: 96px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--pm-home-border-strong);
    border-radius: 8px;
    background: var(--pm-home-surface);
    color: var(--pm-home-primary);
    font-size: 14px;
    font-weight: 650;
}

.pm-home .pm-home-map__state button:hover {
    border-color: var(--pm-home-primary);
    background: #f3f7f4;
}

.pm-home .leaflet-container {
    font-family: inherit;
    background: var(--pm-home-map-bg);
}

.pm-home .leaflet-control-attribution {
    max-width: calc(100% - 12px);
    margin: 0 5px 5px 0;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .88);
    color: #53645d;
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pm-home .leaflet-control-attribution a {
    color: #315f50;
    text-decoration: underline;
}

/* ==========================================================
   QUICK ACCESS
========================================================== */

.pm-home .pm-home-quick__list {
    border-top: 1px solid var(--pm-home-border);
}

.pm-home .pm-home-quick__item {
    display: grid;
    grid-template-columns: minmax(190px, .85fr) minmax(0, 1.6fr) 44px;
    gap: 24px;
    align-items: center;
    min-height: 76px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pm-home-border);
    transition: color 160ms ease, background-color 160ms ease;
}

.pm-home .pm-home-quick__item:hover {
    color: var(--pm-home-primary);
    background: rgba(11, 118, 87, .025);
}

.pm-home .pm-home-quick__item strong {
    color: var(--pm-home-ink);
    font-size: 17px;
    font-weight: 680;
    line-height: 1.35;
}

.pm-home .pm-home-quick__item:hover strong {
    color: var(--pm-home-primary);
}

.pm-home .pm-home-quick__item > span:not(.pm-home-quick__arrow) {
    color: var(--pm-home-muted);
    font-size: 16px;
}

.pm-home .pm-home-quick__arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    color: var(--pm-home-primary);
    font-size: 21px;
    transition: transform 160ms ease;
}

.pm-home .pm-home-quick__item:hover .pm-home-quick__arrow {
    transform: translateX(4px);
}

/* ==========================================================
   DOCUMENTS
========================================================== */

.pm-home .pm-home-documents__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.pm-home .pm-home-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--pm-home-primary);
    font-size: 15px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: #a8bbb2;
    text-underline-offset: 5px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.pm-home .pm-home-text-link:hover {
    color: var(--pm-home-primary-hover);
    text-decoration-color: currentColor;
}

.pm-home .pm-home-documents__list {
    border-top: 1px solid var(--pm-home-border);
}

.pm-home .pm-home-document-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(100px, auto) auto;
    gap: 24px;
    align-items: center;
    min-height: 70px;
    padding: 13px 0;
    border-bottom: 1px solid var(--pm-home-border);
}

.pm-home .pm-home-document-row__title {
    min-width: 0;
    color: var(--pm-home-ink);
    font-size: 16px;
    font-weight: 620;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pm-home .pm-home-document-row__type {
    color: var(--pm-home-muted);
    font-size: 14px;
    text-align: right;
    text-transform: uppercase;
}

.pm-home .pm-home-document-row__link {
    display: inline-flex;
    min-width: 58px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    color: var(--pm-home-primary);
    font-size: 15px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pm-home .pm-home-document-row__link:hover {
    color: var(--pm-home-primary-hover);
}

.pm-home .pm-home-documents__state {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--pm-home-border);
    color: var(--pm-home-muted);
    font-size: 15px;
}

.pm-home .pm-home-documents__state button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--pm-home-border-strong);
    border-radius: 8px;
    background: var(--pm-home-surface);
    color: var(--pm-home-primary);
    font-size: 14px;
    font-weight: 650;
}

.pm-home .pm-home-documents__state button:hover {
    border-color: var(--pm-home-primary);
    background: #f3f7f4;
}

/* ==========================================================
   HOME FOOTER
========================================================== */

.pm-home .pm-home-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 30px 0 34px;
    border-top: 1px solid var(--pm-home-border);
}

.pm-home .pm-home-footer__identity {
    min-width: 0;
}

.pm-home .pm-home-footer__identity strong {
    display: block;
    color: var(--pm-home-ink);
    font-size: 17px;
    font-weight: 700;
}

.pm-home .pm-home-footer__identity p {
    max-width: 520px;
    margin-top: 5px;
    color: var(--pm-home-muted);
    font-size: 14px;
}

.pm-home .pm-home-footer__identity small {
    display: block;
    margin-top: 11px;
    color: var(--pm-home-muted);
    font-size: 13px;
}

.pm-home .pm-home-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 22px;
    row-gap: 2px;
}

.pm-home .pm-home-footer__links a,
.pm-home .pm-home-footer__link-disabled {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.pm-home .pm-home-footer__links a {
    color: var(--pm-home-ink);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.pm-home .pm-home-footer__links a:hover {
    color: var(--pm-home-primary);
    text-decoration-color: currentColor;
}

.pm-home .pm-home-footer__link-disabled {
    color: #8b9892;
    cursor: not-allowed;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {
    .pm-home {
        padding-top: 38px;
    }

    .pm-home .pm-home-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pm-home .pm-home-hero__copy {
        padding-block: 8px 0;
    }

    .pm-home .pm-home-map {
        height: 390px;
    }

    .pm-home .pm-home-quick__item {
        grid-template-columns: minmax(180px, .9fr) minmax(0, 1.4fr) 44px;
        gap: 18px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 640px) {
    .pm-home {
        padding: 30px 16px 0;
        font-size: 16px;
    }

    .pm-home > section + section,
    .pm-home > section + footer {
        margin-top: 48px;
    }

    .pm-home h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .pm-home .pm-home-hero__lead {
        margin-top: 18px;
        font-size: 17px;
    }

    .pm-home .pm-home-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
    }

    .pm-home .pm-home-button,
    .pm-home .pm-home-secondary-link {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .pm-home .pm-home-map {
        height: 320px;
        border-radius: 14px;
    }

    .pm-home .pm-home-quick__item {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 2px 12px;
        min-height: 88px;
        padding-block: 14px;
    }

    .pm-home .pm-home-quick__item strong,
    .pm-home .pm-home-quick__item > span:not(.pm-home-quick__arrow) {
        grid-column: 1;
    }

    .pm-home .pm-home-quick__arrow {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .pm-home .pm-home-documents__heading {
        align-items: flex-start;
    }

    .pm-home .pm-home-document-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 16px;
        min-height: 78px;
    }

    .pm-home .pm-home-document-row__title {
        grid-column: 1;
        grid-row: 1;
    }

    .pm-home .pm-home-document-row__type {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
    }

    .pm-home .pm-home-document-row__link {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .pm-home .pm-home-documents__state {
        align-items: flex-start;
        flex-direction: column;
    }

    .pm-home .pm-home-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 28px;
    }

    .pm-home .pm-home-footer__links {
        justify-content: flex-start;
        column-gap: 18px;
        row-gap: 2px;
    }
}

@media (max-width: 380px) {
    .pm-home .pm-home-documents__heading {
        flex-direction: column;
        gap: 4px;
    }
}

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

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

@keyframes pmHomeLoaderFailsafe {
    0%, 92% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* ==========================================================
   HOME V5 — FULLSCREEN WELCOME LOADER + HERO
========================================================== */

body.pm-home-loader-lock {
    overflow: hidden !important;
}

.pm-home-loader__bypass {
    position: fixed !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* No-JS fallback: klik label Lewati langsung menutup overlay. */
.pm-home-loader__bypass:checked + .pm-home-loader {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

.pm-home-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 32px 20px;
    background: #ffffff;
    color: #0d2d1e;
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 1;
    visibility: visible;
    transition: opacity 420ms ease, visibility 420ms ease;
    /* CSS failsafe: bila JavaScript sama sekali gagal, overlay tetap hilang. */
    animation: pm-home-loader-hard-failsafe 7s forwards;
}

.pm-home-loader.is-leaving {
    animation: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pm-home-loader__inner {
    width: min(860px, 100%);
    transform: translateY(-1vh);
}

.pm-home-loader__heading {
    text-align: center;
}

.pm-home-loader__welcome,
.pm-home-loader__title,
.pm-home-loader__tagline {
    margin: 0;
}

.pm-home-loader__welcome {
    color: rgba(23, 60, 42, .82);
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .025em;
}

.pm-home-loader__title {
    margin-top: 2px;
    color: #0d2d1e;
    font-size: clamp(40px, 6.2vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.pm-home-loader__tagline {
    max-width: 560px;
    margin: 12px auto 0;
    color: rgba(28, 62, 46, .76);
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 500;
    line-height: 1.5;
}

.pm-home-loader__progress-card {
    position: relative;
    width: min(520px, 100%);
    min-height: 112px;
    margin: 38px auto 0;
    overflow: visible;
    padding: 20px 24px 15px;
    border: 1px solid rgba(6, 78, 59, .10);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(13, 45, 30, .06);
}

.pm-home-loader__grid {
    position: absolute;
    inset: 0 38px;
    overflow: hidden;
    border-radius: 14px;
    opacity: .15;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0,
        transparent calc(25% - 1px),
        rgba(6, 78, 59, .20) calc(25% - 1px),
        rgba(6, 78, 59, .20) 25%
    );
}

.pm-home-loader__chart {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 52px;
}

.pm-home-loader__chart svg {
    display: block;
    width: 100%;
    height: 48px;
    overflow: visible;
}

.pm-home-loader__curve {
    fill: none;
    stroke: #064e3b;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9;
}

.pm-home-loader__guide {
    stroke: #064e3b;
    stroke-width: 1;
    stroke-dasharray: 2 3;
    opacity: .35;
}

.pm-home-loader__dot {
    fill: #ffffff;
    stroke: #064e3b;
    stroke-width: 2.5;
}

.pm-home-loader__badge {
    position: absolute;
    top: -22px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 55px;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #064e3b;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(6, 78, 59, .16);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    transform: translateX(-50%);
    transition: left 90ms linear;
}

.pm-home-loader__badge-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #6ee7b7;
    animation: pm-loader-pulse 1s ease-in-out infinite;
}

.pm-home-loader__status-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(6, 78, 59, .10);
}

.pm-home-loader__status-copy {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.pm-home-loader__status-label {
    color: rgba(6, 78, 59, .60);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pm-home-loader__status-copy strong {
    color: #052e25;
    font-size: 12px;
    font-weight: 750;
}

.pm-home-loader__skip {
    min-width: 72px;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid rgba(6, 78, 59, .28);
    border-radius: 8px;
    background: #ffffff;
    color: #064e3b;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.pm-home-loader__skip:hover {
    border-color: #064e3b;
    background: #f0fdf7;
}

.pm-home-loader__skip:active {
    transform: scale(.97);
}

.pm-home-loader__skip:focus-visible {
    outline: 3px solid rgba(6, 78, 59, .18);
    outline-offset: 3px;
}

.pm-home .pm-home-hero { padding-block: 18px 24px; }
.pm-home .pm-home-hero__eyebrow { color: #64705b; font-size: 12px; font-weight: 650; letter-spacing: .12em; margin-bottom: 24px; }
.pm-home .pm-home-hero__eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; background: #b79d62; margin: 0 10px 4px 0; }
.pm-home .pm-home-hero__copy { animation: pm-reveal 600ms ease-out both; }
.pm-home .pm-home-hero__lead { max-width: 380px; }
.pm-home .pm-home-button,.pm-home .pm-home-secondary-link { min-height: 50px; padding: 12px 20px; border-radius: 8px; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.pm-home .pm-home-secondary-link { border: 1px solid #c4d1ca; text-decoration: none; background: transparent; }
.pm-home .pm-home-button:hover,.pm-home .pm-home-secondary-link:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #17382f12; }
.pm-home .pm-home-button:active,.pm-home .pm-home-secondary-link:active { transform: translateY(0) scale(.98); }
.pm-home .pm-home-map { height: clamp(420px, 38vw, 490px); border-radius: 16px; box-shadow: 0 16px 40px #17382f12; animation: pm-float 7s ease-in-out infinite; }
.pm-home .pm-home-map:hover,.pm-home .pm-home-map:focus-within { animation-play-state: paused; }
.pm-home .pm-home-map__heading { position: absolute; top: 0; inset-inline: 0; z-index: 600; height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #dce5df; background: #fff; }
.pm-home .pm-home-map__heading strong,.pm-home .pm-home-map__heading small { display: block; }
.pm-home .pm-home-map__heading strong { font-size: 15px; }
.pm-home .pm-home-map__heading small { color: #5d6f68; font-size: 12px; }
.pm-home .pm-home-map__heading a { font-size: 14px; padding-block: 10px; color: #0b7657; }
.pm-home .pm-home-map__canvas { top: 68px; height: calc(100% - 68px); }
.pm-home .pm-home-map__cards { position: absolute; z-index: 450; left: 16px; right: 16px; bottom: 48px; display: flex; gap: 10px; pointer-events: none; }
.pm-home .pm-home-map__cards a { flex: 1; padding: 12px 14px; background: #fff; border: 1px solid #dce5df; border-radius: 8px; box-shadow: 0 4px 16px #17382f14; pointer-events: auto; transition: transform 180ms ease; }
.pm-home .pm-home-map__cards a:hover { transform: translateY(-3px); }
.pm-home .pm-home-map__cards strong { display: block; font-size: 14px; }
.pm-home .pm-home-map__cards span { display: block; color: #5d6f68; font-size: 12px; }
.pm-home .pm-home-map__state,.pm-home .pm-home-map__state[data-state="error"],.pm-home .pm-home-map__state[data-state="empty"] { inset: 80px 62px auto 12px; padding: 10px 12px; gap: 8px; flex-direction: row; flex-wrap: wrap; background: #fff; border: 1px solid #dce5df; border-radius: 8px; box-shadow: 0 4px 12px #17382f12; }
.pm-home .pm-home-map__state strong { font-size: 13px; flex: 1; text-align: left; }
.pm-home .pm-home-map__spinner { flex-shrink: 0; }
.pm-home .pm-home-map__nojs { position: absolute; top: 80px; left: 12px; right: 12px; z-index: 700; background: white; padding: 16px; }
.pm-home .leaflet-control-attribution { font-size: 10px; }
.pm-home .leaflet-control-zoom a { color: #17382f; }

@keyframes pm-reveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pm-loader-pulse {
    0%, 100% { opacity: .55; transform: scale(.88); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes pm-home-loader-hard-failsafe {
    0%, 94% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 960px) {
    .pm-home .pm-home-hero { grid-template-columns: 1fr; gap: 24px; }
    .pm-home .pm-home-map { height: 430px; }
}

@media (max-width: 640px) {
    .pm-home-loader {
        padding: 24px 16px;
    }

    .pm-home-loader__inner {
        transform: translateY(-2vh);
    }

    .pm-home-loader__welcome {
        font-size: 19px;
    }

    .pm-home-loader__title {
        font-size: clamp(34px, 11vw, 48px);
    }

    .pm-home-loader__tagline {
        max-width: 360px;
        font-size: 12px;
    }

    .pm-home-loader__desktop-break {
        display: none;
    }

    .pm-home-loader__progress-card {
        margin-top: 32px;
        padding: 18px 18px 14px;
    }

    .pm-home-loader__grid {
        inset-inline: 28px;
    }

    .pm-home-loader__status-row {
        gap: 10px;
    }

    .pm-home-loader__status-copy {
        display: block;
    }

    .pm-home-loader__status-copy strong {
        display: block;
        margin-top: 2px;
    }

    .pm-home .pm-home-hero { padding-block: 0; }
    .pm-home .pm-home-map { height: 390px; }
    .pm-home .pm-home-map__heading { padding-inline: 14px; }
    .pm-home .pm-home-map__cards { left: 10px; right: 10px; gap: 6px; }
    .pm-home .pm-home-map__cards a { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .pm-home .pm-home-hero__copy,
    .pm-home .pm-home-map,
    .pm-home-loader,
    .pm-home-loader__badge-dot {
        animation: none !important;
        transition: none !important;
    }
}
