/* FOOTER STYLES PREMIUM */
.main-footer {
    background-color: #080808;
    /* Subtle lift from pure black */
    color: #fff;
    padding: 80px 0 0 0;
    border-top: 1px solid #111;
    font-family: 'Inter', sans-serif;
    width: 100%;
    margin-top: 100px;
    /* Spacer from content */
}

.footer-content {
    max-width: 1200px;
    /* Back to wide for 4 cols */
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    /* 4 Columns */
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* BRAND COLUMN */
.footer-logo .logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.footer-tagline {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 16px 0 24px 0;
    max-width: 250px;
}

.pe-flag {
    font-size: 0.65rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
    border: 1px solid #333;
    padding: 2px 5px;
    border-radius: 4px;
}

/* SOCIALS */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
}

.social-icon:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* LINKS COLUMNS */
.footer-col h4 {
    color: #555;
    /* Muted Headers */
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
    /* Tiny movement hint */
}

.link-highlight {
    color: #38bdf8 !important;
    /* Sky blue for free stuff */
    font-weight: 600;
}

.link-cta {
    color: #fff !important;
    font-weight: 600;
}

/* BOTTOM BAR */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px;
    border-top: 1px solid #141414;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    background: #080808;
}

.f-bottom-center {
    font-weight: 500;
    color: #777;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 1.5rem;
    color: #666;
}

/* YAPE CUSTOM BADGE */
.badge-yape {
    background: linear-gradient(135deg, #742284 0%, #a92db5 100%);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .brand-col {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-links {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-bottom: 100px;
    }

    .f-bottom-right {
        /* Payment Icons */
        order: -1;
        /* Show above copyright on mobile? Or below? Let's keep standard structure but stacked */
        order: 2;
    }
}