/* =========================================================
   FOOTER LENGKAP PA BOJONEGORO (5 KOLOM HIJAU-EMAS)
   ========================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #02241a 0%, #04392a 55%, #044a36 100%);
    border-top: 3px solid var(--gold);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13.5px;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.footer-glow-left {
    width: 340px;
    height: 340px;
    left: -90px;
    top: -110px;
    background: rgba(13, 189, 137, 0.16);
}

.footer-glow-right {
    width: 300px;
    height: 300px;
    right: -60px;
    bottom: -90px;
    background: rgba(245, 180, 10, 0.12);
}

.footer-main-wrap {
    position: relative;
    z-index: 2;
    padding-top: 52px;
    padding-bottom: 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(255px, 1.38fr) repeat(3, minmax(145px, 0.85fr)) minmax(235px, 1.15fr);
    gap: 32px 26px;
    align-items: start;
}

.footer-grid.no-stats {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
}

/* Kolom 1: Identitas Instansi */
.footer-brand-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.footer-emblem-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 210, 63, 0.12);
    border: 1px solid rgba(255, 210, 63, 0.34);
    color: var(--gold-light);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.25);
}

.footer-brand-titles {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-top {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold-light);
}

.footer-brand-main {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-top: 2px;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.84);
}

.footer-contact-list a {
    transition: color 0.16s ease;
}

.footer-contact-list a:hover {
    color: var(--gold-light);
}

.ft-contact-ico {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 210, 63, 0.12);
    color: var(--gold-light);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Media Sosial */
.footer-social-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.footer-social-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.35);
}

.footer-social-btn.soc-fb:hover { background: #1877f2; }
.footer-social-btn.soc-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.footer-social-btn.soc-yt:hover { background: #ff0000; }
.footer-social-btn.soc-x:hover  { background: #0f172a; border-color: rgba(255, 255, 255, 0.35); }
.footer-social-btn.soc-wa:hover { background: #16a34a; }
.footer-social-btn.soc-tt:hover { background: #111827; border-color: rgba(255, 255, 255, 0.35); }

/* Kolom 2–4: Tautan */
.footer-col-title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.01em;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2.5px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.ft-gold-word {
    color: var(--gold-light);
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-link-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.18s ease, transform 0.18s ease;
}

.ft-link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.55;
    flex-shrink: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.footer-link-list a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.footer-link-list a:hover .ft-link-dot {
    opacity: 1;
    transform: scale(1.25);
}

/* Kolom 5: Kartu Statistik Pengunjung */
.footer-stats-card {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 3px solid var(--gold);
    border-radius: 14px;
    padding: 8px 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.28);
}

.ft-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 12.5px;
}

.ft-stat-row:last-child {
    border-bottom: none;
}

.ft-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
}

.ft-stat-label svg {
    color: var(--gold-light);
    flex-shrink: 0;
}

.ft-stat-val {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.ft-stat-total {
    padding-top: 11px;
    border-top: 1px dashed rgba(255, 210, 63, 0.35);
    border-bottom: none;
}

.ft-stat-total .ft-stat-label {
    font-weight: 700;
    color: var(--white);
}

.ft-stat-total .ft-stat-val {
    font-size: 15px;
    color: var(--gold-light);
}

/* Baris Bawah Hak Cipta */
.footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 210, 63, 0.32);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-light);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-back-top:hover {
    background: var(--gold-light);
    color: var(--brand-dark);
    transform: translateY(-2px);
}

/* Responsif */
@media (max-width: 1140px) {
    .footer-grid,
    .footer-grid.no-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-brand-col {
        grid-column: span 2;
    }
    .footer-stats-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-main-wrap {
        padding-top: 40px;
        padding-bottom: 34px;
    }
    .footer-grid,
    .footer-grid.no-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-brand-col,
    .footer-stats-col {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .footer-grid,
    .footer-grid.no-stats {
        grid-template-columns: 1fr;
    }
    .footer-brand-col,
    .footer-stats-col {
        grid-column: auto;
    }
    .footer-bottom-bar {
        justify-content: center;
        text-align: center;
    }
}