/* =========================================================
   FOOTER — PROMETHEUS STYLE (MATCH IMAGE)
   - Top row: brand left, links center, social right
   - Center subscribe form below
   - White, soft shadow, clean typography
   ========================================================= */

/* scope ketat biar gak bentrok */
.rc-footer-prometheus,
.rc-footer-prometheus * {
    box-sizing: border-box;
    font-family: var(
        --font-primary,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif
    );
}

.rc-footer-prometheus {
    background: #1b3c53;
    color: #6b7280; /* soft gray */
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* TOP area */
.rc-footer-prometheus .rcf-top {
    padding: 22px 0;
    background: #1b3c53;
}

.rc-footer-prometheus .rcf-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* Brand */
.rc-footer-prometheus .rcf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 160px;
}

.rc-footer-prometheus .rcf-brand img {
    height: 48px; /* mirip gambar */
    width: auto;
    display: block;
    opacity: 0.9;
}

/* (optional) kalau mau teks brand seperti contoh */
.rc-footer-prometheus .rcf-brand-text {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #64748b;
}

/* Center nav links */
.rc-footer-prometheus .rcf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex: 1;
    min-width: 260px;
}

.rc-footer-prometheus .rcf-nav a {
    text-decoration: none;
    color: #9aa3af;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 6px 0;
    transition: color 0.15s ease;
}

.rc-footer-prometheus .rcf-nav a:hover {
    color: #ffffff;
}

/* Social icons right */
.rc-footer-prometheus .rcf-social {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 160px;
}

.rc-footer-prometheus .rcf-social-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9aa3af;
    border-radius: 999px;
    transition: all 0.15s ease;
}

.rc-footer-prometheus .rcf-social-link:hover {
    color: #6b7280;
    background: rgba(0, 0, 0, 0.04);
}

/* Divider */
.rc-footer-prometheus .rcf-divider {
    height: 1px;
    width: 100%;
    background: rgba(0, 0, 0, 0.06);
}

/* SUBSCRIBE area */
.rc-footer-prometheus .rcf-subscribe {
    padding: 26px 0 34px;
    background: #1b3c53;
}

/* centered form like image */
.rc-footer-prometheus .rcf-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
}

/* input */
.rc-footer-prometheus .rcf-form input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-right: none;
    padding: 14px 16px;
    font-size: 13px;
    color: #6b7280;
    outline: none;
    background: #ffffff;
}

.rc-footer-prometheus .rcf-form input::placeholder {
    color: #c0c7d2;
}

.rc-footer-prometheus .rcf-form input:focus {
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.25);
}

/* button green */
.rc-footer-prometheus .rcf-form button {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 26px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    background: #2faa4a; /* green like image */
    color: #ffffff;
    transition:
        filter 0.15s ease,
        transform 0.05s ease;
}

.rc-footer-prometheus .rcf-form button:hover {
    filter: brightness(0.95);
}
.rc-footer-prometheus .rcf-form button:active {
    transform: translateY(1px);
}

/* (optional) small copyright */
.rc-footer-prometheus .rcf-copy {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: #c0c7d2;
}

/* screen-reader only */
.rc-footer-prometheus .rcf-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .rc-footer-prometheus .rcf-top-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rc-footer-prometheus .rcf-brand,
    .rc-footer-prometheus .rcf-social {
        min-width: unset;
    }

    .rc-footer-prometheus .rcf-nav {
        order: 3;
        flex: 0 0 100%;
        flex-wrap: wrap;
        gap: 14px 18px;
        margin-top: 8px;
    }

    .rc-footer-prometheus .rcf-form {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .rc-footer-prometheus .rcf-form {
        flex-direction: column;
        border-radius: 8px;
    }

    .rc-footer-prometheus .rcf-form input {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: none;
    }

    .rc-footer-prometheus .rcf-form button {
        padding: 14px 18px;
        width: 100%;
    }
}
