/* ================================================================
   Configura Public Footer — pub-footer.css
   Newsletter layout · Edge-to-edge full-width
   ================================================================ */
#pub-footer-mount {
    width: 100%;
    margin-top: 60px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

#pub-footer-mount .pub-footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 -20px 48px rgba(186, 230, 253, 0.25),
                0 -10px 24px rgba(125, 211, 252, 0.15);
}

#pub-footer-mount .pub-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 48px 32px;
}

#pub-footer-mount .pub-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

/* ─── Brand ─── */
#pub-footer-mount .pub-footer-brand .pub-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    text-decoration: none;
}

#pub-footer-mount .pub-footer-logo-svg {
    width: 32px;
    height: 36px;
    flex-shrink: 0;
}

#pub-footer-mount .pub-footer-brand p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    max-width: 420px;
    margin: 0;
}

/* ─── Newsletter ─── */
#pub-footer-mount .pub-footer-newsletter h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

#pub-footer-mount .pub-footer-newsletter p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 14px;
}

#pub-footer-mount .pub-footer-form {
    display: flex;
    gap: 8px;
}

#pub-footer-mount .pub-footer-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-family: inherit;
    background: white;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#pub-footer-mount .pub-footer-form input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#pub-footer-mount .pub-footer-form input::placeholder {
    color: #cbd5e1;
}

#pub-footer-mount .pub-footer-form button {
    padding: 12px 22px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

#pub-footer-mount .pub-footer-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* ─── Bottom row ─── */
#pub-footer-mount .pub-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

#pub-footer-mount .pub-footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

#pub-footer-mount .pub-footer-links a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

#pub-footer-mount .pub-footer-links a:hover {
    color: #4f46e5;
}

#pub-footer-mount .pub-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

#pub-footer-mount .pub-footer-copy {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

#pub-footer-mount .pub-footer-social {
    display: flex;
    gap: 8px;
}

#pub-footer-mount .pub-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
}

#pub-footer-mount .pub-footer-social a:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    #pub-footer-mount {
        margin-top: 40px;
    }
    #pub-footer-mount .pub-footer-inner {
        padding: 40px 20px 24px;
    }
    #pub-footer-mount .pub-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 24px;
        margin-bottom: 20px;
    }
    #pub-footer-mount .pub-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    #pub-footer-mount .pub-footer-bottom-right {
        width: 100%;
        justify-content: space-between;
    }
    #pub-footer-mount .pub-footer-form {
        flex-direction: column;
    }
    #pub-footer-mount .pub-footer-form button {
        width: 100%;
    }
}
