:root {
    --ppid-primary: #1e56b7;
    --ppid-primary-dark: #103b86;
    --ppid-navy: #0b2454;
    --ppid-accent: #68c84f;
    --ppid-ink: #172033;
    --ppid-muted: #687386;
    --ppid-border: #e4eaf3;
    --ppid-soft: #f4f7fc;
    --ppid-white: #ffffff;
    --ppid-shadow: 0 18px 48px rgba(21, 57, 112, 0.09);
}

.ppid-page {
    color: var(--ppid-ink);
}

.ppid-page .page-title::before {
    background: linear-gradient(90deg, rgba(8, 30, 73, 0.9), rgba(30, 86, 183, 0.7));
}

.ppid-section {
    padding-top: 54px;
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 8% 10%, rgba(104, 200, 79, 0.06), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.ppid-content-card,
.ppid-sidebar-card {
    border: 1px solid var(--ppid-border);
    border-radius: 20px;
    background: var(--ppid-white);
    box-shadow: var(--ppid-shadow);
}

.ppid-content-card {
    padding: clamp(22px, 4vw, 42px);
}

.ppid-sidebar-card {
    padding: 24px;
    margin-bottom: 22px;
}

.ppid-sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ppid-navy);
    font-size: 18px;
    font-weight: 750;
}

.ppid-sidebar-card h3::after {
    content: "";
    width: 34px;
    height: 3px;
    margin-left: auto;
    border-radius: 99px;
    background: var(--ppid-accent);
}

.ppid-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 13px;
    border: 1px solid rgba(30, 86, 183, 0.12);
    border-radius: 99px;
    background: rgba(30, 86, 183, 0.07);
    color: var(--ppid-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ppid-heading {
    margin: 0 0 10px;
    color: var(--ppid-navy);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.22;
}

.ppid-heading-subtitle {
    max-width: 690px;
    margin: 0 0 30px;
    color: var(--ppid-muted);
    font-size: 16px;
    line-height: 1.75;
}

.ppid-lead {
    position: relative;
    overflow: hidden;
    padding: 24px 26px 24px 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(30, 86, 183, 0.12);
    border-radius: 16px;
    background: linear-gradient(135deg, #f2f7ff, #f8fff5);
    color: #35435c;
    font-size: 16px;
    line-height: 1.8;
}

.ppid-lead::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--ppid-primary), var(--ppid-accent));
}

.ppid-lead strong {
    color: var(--ppid-navy);
}

.ppid-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 34px 0 18px;
    color: var(--ppid-navy);
    font-size: 21px;
    font-weight: 800;
}

.ppid-section-title .ppid-title-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--ppid-primary), var(--ppid-primary-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(30, 86, 183, 0.2);
}

.ppid-copy {
    color: #48556b;
    line-height: 1.82;
}

.ppid-copy p:last-child {
    margin-bottom: 0;
}

.ppid-feature-grid,
.ppid-document-grid,
.ppid-regulation-grid,
.ppid-contact-grid,
.ppid-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ppid-feature-card,
.ppid-regulation-card,
.ppid-contact-card {
    position: relative;
    overflow: hidden;
    padding: 23px;
    border: 1px solid var(--ppid-border);
    border-radius: 16px;
    background: #fff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ppid-feature-card:hover,
.ppid-regulation-card:hover,
.ppid-contact-card:hover,
.ppid-document-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 86, 183, 0.28);
    box-shadow: 0 16px 30px rgba(21, 57, 112, 0.1);
}

.ppid-feature-card .icon,
.ppid-contact-card .icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    place-items: center;
    border-radius: 13px;
    background: rgba(30, 86, 183, 0.09);
    color: var(--ppid-primary);
    font-size: 22px;
}

.ppid-feature-card h4,
.ppid-contact-card h4 {
    margin: 0 0 8px;
    color: var(--ppid-navy);
    font-size: 17px;
    font-weight: 750;
}

.ppid-feature-card p,
.ppid-contact-card p {
    margin: 0;
    color: var(--ppid-muted);
    line-height: 1.65;
}

.ppid-vision-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 27px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--ppid-navy), var(--ppid-primary));
    color: #fff;
}

.ppid-vision-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -52px;
    width: 160px;
    height: 160px;
    border: 28px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.ppid-vision-card .icon {
    font-size: 31px;
    color: #a9f18e;
}

.ppid-vision-card h3 {
    margin: 14px 0 10px;
    font-size: 21px;
    font-weight: 800;
}

.ppid-vision-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.ppid-mission-list,
.ppid-check-list,
.ppid-reason-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ppid-mission-list li,
.ppid-check-list li,
.ppid-reason-list li {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    color: #45536a;
    line-height: 1.6;
}

.ppid-mission-list li + li,
.ppid-check-list li + li,
.ppid-reason-list li + li {
    border-top: 1px dashed var(--ppid-border);
}

.ppid-mission-list i,
.ppid-check-list i,
.ppid-reason-list i {
    margin-top: 3px;
    color: var(--ppid-accent);
    font-size: 18px;
}

.ppid-number-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    counter-reset: ppid-item;
    list-style: none;
}

.ppid-number-list li {
    position: relative;
    padding: 18px 18px 18px 62px;
    border: 1px solid var(--ppid-border);
    border-radius: 14px;
    background: #fff;
    color: #46536a;
    line-height: 1.65;
    counter-increment: ppid-item;
}

.ppid-number-list li::before {
    content: counter(ppid-item, decimal-leading-zero);
    position: absolute;
    top: 17px;
    left: 17px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--ppid-soft);
    color: var(--ppid-primary);
    font-size: 12px;
    font-weight: 800;
}

.ppid-stepper {
    position: relative;
    display: grid;
    gap: 16px;
}

.ppid-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ppid-step-number {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 5px solid #edf3ff;
    border-radius: 50%;
    background: var(--ppid-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.ppid-step-body {
    padding: 15px 18px;
    border: 1px solid var(--ppid-border);
    border-radius: 14px;
    background: #fff;
}

.ppid-step-body h4 {
    margin: 0 0 5px;
    color: var(--ppid-navy);
    font-size: 16px;
    font-weight: 750;
}

.ppid-step-body p {
    margin: 0;
    color: var(--ppid-muted);
    line-height: 1.65;
}

.ppid-cta {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    margin-top: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ppid-navy), var(--ppid-primary));
    color: #fff;
}

.ppid-cta h3 {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 800;
}

.ppid-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.ppid-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: var(--ppid-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ppid-button:hover {
    transform: translateY(-1px);
    background: var(--ppid-primary-dark);
    box-shadow: 0 10px 20px rgba(30, 86, 183, 0.2);
}

.ppid-button-light {
    flex: 0 0 auto;
    border-color: rgba(255, 255, 255, 0.25);
    background: #fff;
    color: var(--ppid-primary) !important;
}

.ppid-button-outline {
    border-color: rgba(30, 86, 183, 0.24);
    background: #fff;
    color: var(--ppid-primary) !important;
}

.ppid-structure-frame {
    padding: 12px;
    border: 1px solid var(--ppid-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f4f7fc);
}

.ppid-structure-frame img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ppid-structure-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 17px;
}

.ppid-document-grid {
    grid-template-columns: 1fr;
}

.ppid-document-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--ppid-border);
    border-radius: 15px;
    background: #fff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ppid-document-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 13px;
    background: #fff0f0;
    color: #d83b3b;
    font-size: 24px;
}

.ppid-document-info h4 {
    margin: 0 0 4px;
    color: var(--ppid-navy);
    font-size: 15px;
    font-weight: 750;
}

.ppid-document-info p {
    margin: 0;
    color: var(--ppid-muted);
    font-size: 13px;
}

.ppid-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ppid-category {
    padding: 20px;
    border: 1px solid var(--ppid-border);
    border-radius: 15px;
    background: #fff;
}

.ppid-category .label {
    display: inline-block;
    padding: 5px 9px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: var(--ppid-soft);
    color: var(--ppid-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ppid-category h4 {
    margin: 0 0 7px;
    color: var(--ppid-navy);
    font-size: 16px;
    font-weight: 750;
}

.ppid-category p {
    margin: 0;
    color: var(--ppid-muted);
    font-size: 14px;
    line-height: 1.6;
}

.ppid-hours {
    overflow: hidden;
    border: 1px solid var(--ppid-border);
    border-radius: 16px;
}

.ppid-hours-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 10px;
    padding: 17px 20px;
    align-items: center;
}

.ppid-hours-row + .ppid-hours-row {
    border-top: 1px solid var(--ppid-border);
}

.ppid-hours-row:first-child {
    background: var(--ppid-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.ppid-hours-row strong {
    color: var(--ppid-navy);
}

.ppid-free-badge {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #eaf8e6;
    color: #397a29;
    font-weight: 750;
}

.ppid-regulation-grid {
    grid-template-columns: 1fr;
}

.ppid-regulation-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 18px;
}

.ppid-regulation-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    background: var(--ppid-soft);
    color: var(--ppid-primary);
    font-size: 12px;
    font-weight: 850;
}

.ppid-regulation-card h4 {
    margin: 0 0 4px;
    color: var(--ppid-navy);
    font-size: 15px;
    font-weight: 750;
}

.ppid-regulation-card p {
    margin: 0;
    color: var(--ppid-muted);
    font-size: 13px;
    line-height: 1.5;
}

.ppid-sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ppid-sidebar-nav li + li {
    border-top: 1px solid var(--ppid-border);
}

.ppid-sidebar-nav a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 11px 9px;
    border-radius: 9px;
    color: #4b5870;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.ppid-sidebar-nav a:hover,
.ppid-sidebar-nav a.active {
    background: var(--ppid-soft);
    color: var(--ppid-primary);
}

.ppid-sidebar-nav i {
    flex: 0 0 18px;
    color: var(--ppid-primary);
}

.ppid-news-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
}

.ppid-news-item + .ppid-news-item {
    border-top: 1px solid var(--ppid-border);
}

.ppid-news-image {
    width: 72px;
    height: 58px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--ppid-soft);
}

.ppid-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ppid-news-info h4 {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.ppid-news-info h4 a {
    color: #2c374c;
    text-decoration: none;
}

.ppid-news-info h4 a:hover {
    color: var(--ppid-primary);
}

.ppid-news-meta {
    color: #8791a2;
    font-size: 11px;
}

.ppid-contact-mini {
    padding: 20px;
    border: 0;
    background: linear-gradient(145deg, var(--ppid-navy), var(--ppid-primary));
    color: #fff;
}

.ppid-contact-mini h3 {
    color: #fff;
}

.ppid-contact-mini p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.65;
}

.ppid-contact-mini .ppid-button {
    width: 100%;
}

.ppid-note {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    margin-top: 20px;
    border: 1px solid #f0dfac;
    border-radius: 13px;
    background: #fffaf0;
    color: #725d24;
    font-size: 14px;
    line-height: 1.6;
}

.ppid-note i {
    flex: 0 0 19px;
    margin-top: 2px;
}

@media (max-width: 991.98px) {
    .ppid-sidebar {
        margin-top: 28px;
    }
}

@media (max-width: 767.98px) {
    .ppid-section {
        padding-top: 36px;
        padding-bottom: 50px;
    }

    .ppid-content-card,
    .ppid-sidebar-card {
        border-radius: 16px;
    }

    .ppid-feature-grid,
    .ppid-vision-grid,
    .ppid-category-grid,
    .ppid-contact-grid {
        grid-template-columns: 1fr;
    }

    .ppid-document-card,
    .ppid-regulation-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .ppid-document-card .ppid-button,
    .ppid-regulation-card .ppid-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ppid-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .ppid-cta .ppid-button {
        width: 100%;
    }

    .ppid-hours-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .ppid-hours-row:first-child {
        display: none;
    }

    .ppid-hours-row span::before {
        display: block;
        color: #8a94a6;
        font-size: 11px;
        font-weight: 750;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .ppid-hours-row span:nth-child(2)::before {
        content: "Jam pelayanan";
    }

    .ppid-hours-row span:nth-child(3)::before {
        content: "Istirahat";
    }
}

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