/* ===== SIMTARU inner pages — modern, brand tones =====
   Green #01AB55 | Red #D32F2F | Ink #262626
*/
:root {
    --sim-green: #01AB55;
    --sim-green-dark: #018a45;
    --sim-green-soft: #e6f7ee;
    --sim-red: #D32F2F;
    --sim-ink: #262626;
    --sim-muted: #6b7280;
    --sim-bg: #f5f7f6;
}

.sim-page-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(1,171,85,.18), transparent 60%),
        linear-gradient(135deg, #018a45 0%, #01AB55 55%, #36c97e 100%);
    overflow: hidden;
    color: #fff;
}
.sim-page-hero::after {
    content: ""; position: absolute; right: -120px; bottom: -160px;
    width: 480px; height: 480px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    animation: simFloat 9s ease-in-out infinite;
}
.sim-page-hero::before {
    content: ""; position: absolute; left: -80px; top: -120px;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,.06);
    animation: simFloat 11s ease-in-out infinite reverse;
}
@keyframes simFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-22px); } }
.sim-page-hero-inner {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
    padding: 120px 24px 80px; width: 100%;
}
.sim-hero-eyebrow, .sim-page-hero .sim-eyebrow {
    display: inline-block; background: rgba(255,255,255,.18); color: #fff;
    padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    letter-spacing: .5px; margin-bottom: 18px;
}
.sim-page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.05; margin: 0;
    text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.sim-page-hero .sim-sub {
    font-size: 1.15rem; max-width: 620px; margin: 22px 0 0; opacity: .95; font-weight: 500;
}

.sim-page-wrap { max-width: 1200px; margin: 50px auto 70px; padding: 0 24px; }

/* content card */
.sim-prose {
    background: #fff; border-radius: 18px; padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06); border: 1px solid rgba(1,171,85,.07);
    line-height: 1.9; font-size: 1rem; color: #3a3a3a;
}
.sim-prose h2, .sim-prose h3, .sim-prose h4 { color: var(--sim-green); font-weight: 700; }
.sim-prose ol, .sim-prose ul { padding-left: 22px; }

/* list card (regulasi, pengaduan, kkpr) */
.sim-list { display: grid; gap: 18px; }
.sim-row {
    background: #fff; border-radius: 14px; padding: 22px 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.04);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    transition: transform .2s ease, box-shadow .2s ease;
}
.sim-row:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(1,171,85,.14); }
.sim-row-title { font-weight: 700; font-size: 1.05rem; color: var(--sim-ink); }
.sim-row-desc { font-size: .9rem; color: var(--sim-muted); margin-top: 4px; }
.sim-btn {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    background: var(--sim-green); color: #fff; font-weight: 600; font-size: 14px;
    padding: 9px 20px; border-radius: 999px; text-decoration: none; transition: background .2s;
}
.sim-btn:hover { background: var(--sim-green-dark); color: #fff; }
.sim-btn.red { background: var(--sim-red); }
.sim-btn.red:hover { background: #b71c1c; }

/* pagination */
.sim-pagination { margin-top: 26px; }
.sim-pagination .pagination { justify-content: flex-end; }
.sim-pagination .page-link { color: var(--sim-green); border-radius: 8px; margin: 0 3px; border: none; }
.sim-pagination .page-item.active .page-link { background: var(--sim-green); color: #fff; }

/* KKPR / service grid cards */
.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sim-card-link {
    display: block; text-decoration: none; background: #fff; border-radius: 16px; padding: 28px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.04);
    transition: transform .2s ease, box-shadow .2s ease; color: var(--sim-ink);
}
.sim-card-link:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(1,171,85,.15); color: var(--sim-ink); }
.sim-card-link .sim-ico {
    width: 52px; height: 52px; border-radius: 14px; background: var(--sim-green-soft);
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.sim-card-link h4 { font-weight: 700; margin: 0 0 6px; }
.sim-card-link p { font-size: .88rem; color: var(--sim-muted); margin: 0; }

/* alert box */
.sim-alert {
    background: #fff5f5; border: 1px solid #ffd6d6; border-left: 4px solid var(--sim-red);
    border-radius: 12px; padding: 20px 24px; color: #7a1f1f; font-size: .95rem;
}

/* ===== Footer (shared) ===== */
.sim-footer { background: #1f2a24; color: #cfd8d3; margin-top: 90px; padding: 60px 0 0; }
.sim-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.sim-footer-logo { display: flex; align-items: center; gap: 12px; }
.sim-footer-logo img { width: 48px; height: 48px; object-fit: contain; }
.sim-footer-name { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.sim-footer-addr { margin-top: 16px; font-size: .9rem; line-height: 1.7; color: #aab4ae; }
.sim-footer-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.sim-footer-list { list-style: none; padding: 0; margin: 0; }
.sim-footer-list li { margin-bottom: 10px; }
.sim-footer-list a { color: #aab4ae; text-decoration: none; font-size: .9rem; transition: color .2s; }
.sim-footer-list a:hover { color: var(--sim-green); }
.sim-footer-sosmed { display: flex; gap: 12px; }
.sim-footer-sosmed img { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; transition: opacity .2s; }
.sim-footer-sosmed a:hover img { opacity: 1; }
.sim-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .82rem; color: #8c968f; }

@media (max-width: 768px) {
    .sim-grid { grid-template-columns: 1fr; }
    .sim-prose { padding: 24px; }
    .sim-row { flex-direction: column; align-items: flex-start; }
    .sim-footer-grid { grid-template-columns: 1fr; }
}
